summaryrefslogtreecommitdiffstats
path: root/fs/kernfs/mount.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-09-29 17:48:33 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-10-07 04:17:38 +0200
commite72a1a8b3a5a2a0c034f9ad07ca34638fc3b0c33 (patch)
tree8e0f1c3833bf7b167b77ff1239fdab50a6f8e352 /fs/kernfs/mount.c
parenthfs: Switch to generic xattr handlers (diff)
downloadlinux-e72a1a8b3a5a2a0c034f9ad07ca34638fc3b0c33.tar.xz
linux-e72a1a8b3a5a2a0c034f9ad07ca34638fc3b0c33.zip
kernfs: Switch to generic xattr handlers
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/kernfs/mount.c')
-rw-r--r--fs/kernfs/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/kernfs/mount.c b/fs/kernfs/mount.c
index b3d73ad52b22..d5b149a45be1 100644
--- a/fs/kernfs/mount.c
+++ b/fs/kernfs/mount.c
@@ -158,6 +158,7 @@ static int kernfs_fill_super(struct super_block *sb, unsigned long magic)
sb->s_blocksize_bits = PAGE_SHIFT;
sb->s_magic = magic;
sb->s_op = &kernfs_sops;
+ sb->s_xattr = kernfs_xattr_handlers;
sb->s_time_gran = 1;
/* get root inode, initialize and unlock it */