aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_attr.h
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2020-02-26 17:30:36 -0800
committerGravatar Darrick J. Wong <darrick.wong@oracle.com> 2020-03-02 20:55:53 -0800
commit1d7330199400404512b44734d3c792aa4ad82322 (patch)
treec33d2c5b5d060c823d777f06c51f1e49c6b8ce70 /fs/xfs/libxfs/xfs_attr.h
parentxfs: remove ATTR_ALLOC and XFS_DA_OP_ALLOCVAL (diff)
downloadlinux-1d7330199400404512b44734d3c792aa4ad82322.tar.gz
linux-1d7330199400404512b44734d3c792aa4ad82322.tar.bz2
linux-1d7330199400404512b44734d3c792aa4ad82322.zip
xfs: replace ATTR_KERNOTIME with XFS_DA_OP_NOTIME
op_flags with the XFS_DA_OP_* flags is the usual place for in-kernel only flags, so move the notime flag there. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr.h')
-rw-r--r--fs/xfs/libxfs/xfs_attr.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/libxfs/xfs_attr.h b/fs/xfs/libxfs/xfs_attr.h
index a6de050675c9..0f369399effd 100644
--- a/fs/xfs/libxfs/xfs_attr.h
+++ b/fs/xfs/libxfs/xfs_attr.h
@@ -33,19 +33,13 @@ struct xfs_attr_list_context;
#define ATTR_CREATE 0x0010 /* pure create: fail if attr already exists */
#define ATTR_REPLACE 0x0020 /* pure set: fail if attr does not exist */
-#define ATTR_KERNOTIME 0x1000 /* [kernel] don't update inode timestamps */
-
-#define ATTR_KERNEL_FLAGS \
- (ATTR_KERNOTIME)
-
#define XFS_ATTR_FLAGS \
{ ATTR_DONTFOLLOW, "DONTFOLLOW" }, \
{ ATTR_ROOT, "ROOT" }, \
{ ATTR_TRUST, "TRUST" }, \
{ ATTR_SECURE, "SECURE" }, \
{ ATTR_CREATE, "CREATE" }, \
- { ATTR_REPLACE, "REPLACE" }, \
- { ATTR_KERNOTIME, "KERNOTIME" }
+ { ATTR_REPLACE, "REPLACE" }
/*
* The maximum size (into the kernel or returned from the kernel) of an