summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher2016-09-29 17:48:36 +0200
committerAl Viro2016-10-07 04:17:38 +0200
commit4b899da50dcf1a7850715650281b5d76af8a5eb4 (patch)
treef9999fc74a3533644f33c298875d16d1e8191e85 /fs/ecryptfs/main.c
parentsockfs: Get rid of getxattr iop (diff)
downloadkernel-qcow2-linux-4b899da50dcf1a7850715650281b5d76af8a5eb4.tar.gz
kernel-qcow2-linux-4b899da50dcf1a7850715650281b5d76af8a5eb4.tar.xz
kernel-qcow2-linux-4b899da50dcf1a7850715650281b5d76af8a5eb4.zip
ecryptfs: Switch to generic xattr handlers
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r--fs/ecryptfs/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 612004495141..151872dcc1f4 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -529,6 +529,7 @@ static struct dentry *ecryptfs_mount(struct file_system_type *fs_type, int flags
/* ->kill_sb() will take care of sbi after that point */
sbi = NULL;
s->s_op = &ecryptfs_sops;
+ s->s_xattr = ecryptfs_xattr_handlers;
s->s_d_op = &ecryptfs_dops;
err = "Reading sb failed";