summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-06-16 18:05:38 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 10:57:25 +0200
commit0747fdb2bd59d9404ae2345cbddd7d837c5c4648 (patch)
tree5f44e37709f8d986df086e4417dc2b5da91cca4a /fs/ecryptfs/inode.c
parentfuse: another open-coded file_inode() (diff)
downloadlinux-0747fdb2bd59d9404ae2345cbddd7d837c5c4648.tar.xz
linux-0747fdb2bd59d9404ae2345cbddd7d837c5c4648.zip
ecryptfs: switch ecryptfs_decode_and_decrypt_filename() from dentry to sb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--fs/ecryptfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index 5eab400e2590..a2f2bb2c256d 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -679,7 +679,7 @@ static int ecryptfs_readlink_lower(struct dentry *dentry, char **buf,
set_fs(old_fs);
if (rc < 0)
goto out;
- rc = ecryptfs_decode_and_decrypt_filename(buf, bufsiz, dentry,
+ rc = ecryptfs_decode_and_decrypt_filename(buf, bufsiz, dentry->d_sb,
lower_buf, rc);
out:
kfree(lower_buf);