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>
This commit is contained in:

committed by
Darrick J. Wong

parent
d49db18b24
commit
1d73301994
@@ -438,7 +438,6 @@ xfs_ioc_attrmulti_one(
|
||||
|
||||
if ((flags & ATTR_ROOT) && (flags & ATTR_SECURE))
|
||||
return -EINVAL;
|
||||
flags &= ~ATTR_KERNEL_FLAGS;
|
||||
|
||||
name = strndup_user(uname, MAXNAMELEN);
|
||||
if (IS_ERR(name))
|
||||
|
Reference in New Issue
Block a user