diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2016-04-06 00:57:32 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-04-06 00:57:32 +0300 |
commit | e5bd12bfea60af455f4cbad494e4ac1082e3abd6 (patch) | |
tree | 9bea32cb74dfa206870a07659a80c92c775ed4e7 /fs/xfs/xfs_xattr.c | |
parent | 2a6fba6d2311151598abaa1e7c9abd5f8d024a43 (diff) | |
download | linux-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.c | 3 |
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; |