From: Christoph Hellwig Date: Sat, 29 Jun 2019 02:27:18 +0000 (-0700) Subject: xfs: renumber XBF_WRITE_FAIL X-Git-Tag: v5.4-rc1~517^2~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce89755cdfeaa0073341f8b5d07caff4fa9fc316;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Dave Chinner Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/fs/xfs/xfs_buf.h b/fs/xfs/xfs_buf.h index c39916f..9823894 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 */