xfs: remove XFS_DA_OP_INCOMPLETE
Now that we use the on-disk flags field also for the interface to the lower level attr routines we can use the XFS_ATTR_INCOMPLETE definition from the on-disk format directly instead. 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
d5f0f49a9b
commit
254f800f81
@@ -59,7 +59,7 @@ typedef struct xfs_da_args {
|
||||
uint8_t filetype; /* filetype of inode for directories */
|
||||
void *value; /* set of bytes (maybe contain NULLs) */
|
||||
int valuelen; /* length of value */
|
||||
unsigned int attr_filter; /* XFS_ATTR_{ROOT,SECURE} */
|
||||
unsigned int attr_filter; /* XFS_ATTR_{ROOT,SECURE,INCOMPLETE} */
|
||||
unsigned int attr_flags; /* XATTR_{CREATE,REPLACE} */
|
||||
xfs_dahash_t hashval; /* hash value of name */
|
||||
xfs_ino_t inumber; /* input/output inode number */
|
||||
@@ -90,7 +90,6 @@ typedef struct xfs_da_args {
|
||||
#define XFS_DA_OP_OKNOENT 0x0008 /* lookup/add op, ENOENT ok, else die */
|
||||
#define XFS_DA_OP_CILOOKUP 0x0010 /* lookup to return CI name if found */
|
||||
#define XFS_DA_OP_NOTIME 0x0020 /* don't update inode timestamps */
|
||||
#define XFS_DA_OP_INCOMPLETE 0x0040 /* lookup INCOMPLETE attr keys */
|
||||
|
||||
#define XFS_DA_OP_FLAGS \
|
||||
{ XFS_DA_OP_JUSTCHECK, "JUSTCHECK" }, \
|
||||
@@ -98,8 +97,7 @@ typedef struct xfs_da_args {
|
||||
{ XFS_DA_OP_ADDNAME, "ADDNAME" }, \
|
||||
{ XFS_DA_OP_OKNOENT, "OKNOENT" }, \
|
||||
{ XFS_DA_OP_CILOOKUP, "CILOOKUP" }, \
|
||||
{ XFS_DA_OP_NOTIME, "NOTIME" }, \
|
||||
{ XFS_DA_OP_INCOMPLETE, "INCOMPLETE" }
|
||||
{ XFS_DA_OP_NOTIME, "NOTIME" }
|
||||
|
||||
/*
|
||||
* Storage for holding state during Btree searches and split/join ops.
|
||||
|
Reference in New Issue
Block a user