summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2016-04-05 23:57:45 +0200
committerDave Chinner <david@fromorbit.com>2016-04-05 23:57:45 +0200
commit7af5ad28a603f2d1ef4c579b8ab0a9d4767a348e (patch)
treebe9dfa93d1db3c4428a15cdd7a6aa5a18f7fc9b0 /fs/xfs/xfs_attr.h
parentxfs: don't pass value into attr ->put_listent (diff)
downloadlinux-7af5ad28a603f2d1ef4c579b8ab0a9d4767a348e.tar.xz
linux-7af5ad28a603f2d1ef4c579b8ab0a9d4767a348e.zip
xfs: remove put_value from attr ->put_listent context
The put_value context member is never set; remove it and the conditional test in xfs_attr3_leaf_list_int(). Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_attr.h')
-rw-r--r--fs/xfs/xfs_attr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h
index dab4f41de278..e3da5d448bcf 100644
--- a/fs/xfs/xfs_attr.h
+++ b/fs/xfs/xfs_attr.h
@@ -127,7 +127,6 @@ typedef struct xfs_attr_list_context {
int firstu; /* first used byte in buffer */
int flags; /* from VOP call */
int resynch; /* T/F: resynch with cursor */
- int put_value; /* T/F: need value for listent */
put_listent_func_t put_listent; /* list output fmt function */
int index; /* index into output buffer */
} xfs_attr_list_context_t;