summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_xattr.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2016-04-06 00:57:32 +0300
committerDave Chinner <david@fromorbit.com>2016-04-06 00:57:32 +0300
commite5bd12bfea60af455f4cbad494e4ac1082e3abd6 (patch)
tree9bea32cb74dfa206870a07659a80c92c775ed4e7 /fs/xfs/xfs_xattr.c
parent2a6fba6d2311151598abaa1e7c9abd5f8d024a43 (diff)
downloadlinux-e5bd12bfea60af455f4cbad494e4ac1082e3abd6.tar.xz
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;