]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: deprecate BMV_IF_NO_DMAPI_READ flag
authorAnthony Iliopoulos <ailiop@suse.com>
Wed, 30 Jun 2021 22:38:57 +0000 (18:38 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 30 Jun 2021 22:38:57 +0000 (18:38 -0400)
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 <ailiop@suse.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_fs.h

index 6fad140d4c8e57b113f1c39204e61eb57d4b4491..bde2b4c64dbe30d13eef44f32005c35fe349ae1e 100644 (file)
@@ -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 */