From: Anthony Iliopoulos Date: Wed, 30 Jun 2021 22:38:57 +0000 (-0400) Subject: xfs: deprecate BMV_IF_NO_DMAPI_READ flag X-Git-Tag: v5.13.0-rc0~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3e2f9e65102672cf3b3cac4c284a55c02c770ba;p=thirdparty%2Fxfsprogs-dev.git xfs: deprecate BMV_IF_NO_DMAPI_READ flag Source kernel commit: fcb62c28031eeeb626392e6a338a90dedbdecf1c Use of the flag has had no effect since kernel commit 288699fecaff ("xfs: drop dmapi hooks"), which removed all dmapi related code, so deprecate it. Signed-off-by: Anthony Iliopoulos Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_fs.h b/libxfs/xfs_fs.h index 6fad140d4..bde2b4c64 100644 --- a/libxfs/xfs_fs.h +++ b/libxfs/xfs_fs.h @@ -65,7 +65,7 @@ struct getbmapx { /* bmv_iflags values - set by XFS_IOC_GETBMAPX caller. */ #define BMV_IF_ATTRFORK 0x1 /* return attr fork rather than data */ -#define BMV_IF_NO_DMAPI_READ 0x2 /* Do not generate DMAPI read event */ +#define BMV_IF_NO_DMAPI_READ 0x2 /* Deprecated */ #define BMV_IF_PREALLOC 0x4 /* rtn status BMV_OF_PREALLOC if req */ #define BMV_IF_DELALLOC 0x8 /* rtn status BMV_OF_DELALLOC if req */ #define BMV_IF_NO_HOLES 0x10 /* Do not return holes */