diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-05-30 11:25:59 +0200 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-07-05 15:47:16 -0400 |
commit | 972a7344fcb54e0aabe78cfac5abb531fc6299ab (patch) | |
tree | 2d06222118b2d845f6c0ce823b3690437004124c /fs/orangefs/file.c | |
parent | a99cde438de0c4c0cecc1d1af1a55a75b10bfdef (diff) | |
download | linux-stable-972a7344fcb54e0aabe78cfac5abb531fc6299ab.tar.gz linux-stable-972a7344fcb54e0aabe78cfac5abb531fc6299ab.tar.bz2 linux-stable-972a7344fcb54e0aabe78cfac5abb531fc6299ab.zip |
orangefs: Remove useless defines
The ORANGEFS_XATTR_INDEX_ defines are unused; the ORANGEFS_XATTR_NAME_
defines only obfuscate the code.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/file.c')
-rw-r--r-- | fs/orangefs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c index 491e82c6f705..5160a3f27e71 100644 --- a/fs/orangefs/file.c +++ b/fs/orangefs/file.c @@ -516,7 +516,7 @@ static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long ar if (cmd == FS_IOC_GETFLAGS) { val = 0; ret = orangefs_inode_getxattr(file_inode(file), - ORANGEFS_XATTR_NAME_DEFAULT_PREFIX, + "", "user.pvfs2.meta_hint", &val, sizeof(val)); if (ret < 0 && ret != -ENODATA) @@ -549,7 +549,7 @@ static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long ar "orangefs_ioctl: FS_IOC_SETFLAGS: %llu\n", (unsigned long long)val); ret = orangefs_inode_setxattr(file_inode(file), - ORANGEFS_XATTR_NAME_DEFAULT_PREFIX, + "", "user.pvfs2.meta_hint", &val, sizeof(val), 0); } |