summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_xattr.c
diff options
context:
space:
mode:
authorEric Sandeen2016-04-05 23:57:32 +0200
committerDave Chinner2016-04-05 23:57:32 +0200
commite5bd12bfea60af455f4cbad494e4ac1082e3abd6 (patch)
tree9bea32cb74dfa206870a07659a80c92c775ed4e7 /fs/xfs/xfs_xattr.c
parentxfs: only return -errno or success from attr ->put_listent (diff)
downloadkernel-qcow2-linux-e5bd12bfea60af455f4cbad494e4ac1082e3abd6.tar.gz
kernel-qcow2-linux-e5bd12bfea60af455f4cbad494e4ac1082e3abd6.tar.xz
kernel-qcow2-linux-e5bd12bfea60af455f4cbad494e4ac1082e3abd6.zip
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_xattr.c')
-rw-r--r--fs/xfs/xfs_xattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c
index f2201299311f..7fdcf3327652 100644
--- a/fs/xfs/xfs_xattr.c
+++ b/fs/xfs/xfs_xattr.c
@@ -166,8 +166,7 @@ xfs_xattr_put_listent(
int flags,
unsigned char *name,
int namelen,
- int valuelen,
- unsigned char *value)
+ int valuelen)
{
char *prefix;
int prefix_len;