summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2016-04-06 07:57:32 +1000
committerDave Chinner <david@fromorbit.com>2016-04-06 07:57:32 +1000
commite5bd12bfea60af455f4cbad494e4ac1082e3abd6 (patch)
tree9bea32cb74dfa206870a07659a80c92c775ed4e7 /fs/xfs/xfs_attr.h
parent2a6fba6d2311151598abaa1e7c9abd5f8d024a43 (diff)
downloadlinux-e5bd12bfea60af455f4cbad494e4ac1082e3abd6.tar.bz2
xfs: don't pass value into attr ->put_listent
The value is not used; only names and value lengths are returned. Remove the argument. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h
index 234331227c0c..dab4f41de278 100644
--- a/fs/xfs/xfs_attr.h
+++ b/fs/xfs/xfs_attr.h
@@ -114,7 +114,7 @@ typedef struct attrlist_cursor_kern {
/* Return 0 on success, or -errno; other state communicated via *context */
typedef int (*put_listent_func_t)(struct xfs_attr_list_context *, int,
- unsigned char *, int, int, unsigned char *);
+ unsigned char *, int, int);
typedef struct xfs_attr_list_context {
struct xfs_inode *dp; /* inode */