diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-10-04 19:18:48 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-11-13 20:34:29 -0500 |
commit | 13d3408f100186d2755d9ac1ad8b5de9e1975a92 (patch) | |
tree | e739b3f4f11317be0db0caff45eaa64f6bdde6d3 /fs/ubifs/super.c | |
parent | dae5f57a72a6c913926cf3569edb0556a409a3df (diff) | |
download | linux-rpi-13d3408f100186d2755d9ac1ad8b5de9e1975a92.tar.gz linux-rpi-13d3408f100186d2755d9ac1ad8b5de9e1975a92.tar.bz2 linux-rpi-13d3408f100186d2755d9ac1ad8b5de9e1975a92.zip |
ubifs: Remove unused security xattr handler
Ubifs installs a security xattr handler in sb->s_xattr but doesn't use the
generic_{get,set,list,remove}xattr inode operations needed for processing
this list of attribute handlers; the handler is never called. Instead,
ubifs uses its own xattr handlers which also process security xattrs.
Remove the dead code.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Cc: Artem Bityutskiy <dedekind1@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: linux-mtd@lists.infradead.org
Cc: Subodh Nijsure <snijsure@grid-net.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 9547a27868ad..c71edca41f47 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -2037,7 +2037,6 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) if (c->max_inode_sz > MAX_LFS_FILESIZE) sb->s_maxbytes = c->max_inode_sz = MAX_LFS_FILESIZE; sb->s_op = &ubifs_super_operations; - sb->s_xattr = ubifs_xattr_handlers; mutex_lock(&c->umount_mutex); err = mount_ubifs(c); |