Home
last modified time | relevance | path

Searched hist:"1858 bb0bec612df1bff11e982c5114ac398b0741" (Results 1 – 3 of 3) sorted by relevance

/linux/fs/xfs/
H A Dxfs_log_priv.hdiff 1858bb0bec612df1bff11e982c5114ac398b0741 Mon Oct 14 19:36:43 CEST 2019 Christoph Hellwig <hch@lst.de> xfs: turn ic_state into an enum

ic_state really is a set of different states, even if the values are
encoded as non-conflicting bits and we sometimes use logical and
operations to check for them. Switch all comparisms to check for
exact values (and use switch statements in a few places to make it
more clear) and turn the values into an implicitly enumerated enum
type.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
H A Dxfs_log_cil.cdiff 1858bb0bec612df1bff11e982c5114ac398b0741 Mon Oct 14 19:36:43 CEST 2019 Christoph Hellwig <hch@lst.de> xfs: turn ic_state into an enum

ic_state really is a set of different states, even if the values are
encoded as non-conflicting bits and we sometimes use logical and
operations to check for them. Switch all comparisms to check for
exact values (and use switch statements in a few places to make it
more clear) and turn the values into an implicitly enumerated enum
type.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
H A Dxfs_log.cdiff 1858bb0bec612df1bff11e982c5114ac398b0741 Mon Oct 14 19:36:43 CEST 2019 Christoph Hellwig <hch@lst.de> xfs: turn ic_state into an enum

ic_state really is a set of different states, even if the values are
encoded as non-conflicting bits and we sometimes use logical and
operations to check for them. Switch all comparisms to check for
exact values (and use switch statements in a few places to make it
more clear) and turn the values into an implicitly enumerated enum
type.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>