summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-29 04:27:18 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-29 04:27:18 +0200
commitce89755cdfeaa0073341f8b5d07caff4fa9fc316 (patch)
tree4a1bca10f647141e6dfa892dcd11f6b1ec0c724c /fs
parentxfs: remove the never used _XBF_COMPOUND flag (diff)
downloadlinux-ce89755cdfeaa0073341f8b5d07caff4fa9fc316.tar.xz
linux-ce89755cdfeaa0073341f8b5d07caff4fa9fc316.zip
xfs: renumber XBF_WRITE_FAIL
Assining a numerical value that is not close to the flags defined near by is just asking for conflicts later on. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h
index c39916fe8686..982389472e60 100644
--- a/fs/xfs/xfs_buf.h
+++ b/fs/xfs/xfs_buf.h
@@ -28,7 +28,7 @@
#define XBF_ASYNC (1 << 4) /* initiator will not wait for completion */
#define XBF_DONE (1 << 5) /* all pages in the buffer uptodate */
#define XBF_STALE (1 << 6) /* buffer has been staled, do not find it */
-#define XBF_WRITE_FAIL (1 << 24)/* async writes have failed on this buffer */
+#define XBF_WRITE_FAIL (1 << 7) /* async writes have failed on this buffer */
/* I/O hints for the BIO layer */
#define XBF_SYNCIO (1 << 10)/* treat this buffer as synchronous I/O */