]> Pileus Git - ~andy/linux/blobdiff - fs/ecryptfs/inode.c
ecryptfs: switch ecryptfs_decode_and_decrypt_filename() from dentry to sb
[~andy/linux] / fs / ecryptfs / inode.c
index 5eab400e25903b71641d4a056254c79f3a776885..a2f2bb2c256dd24cf8a9e597cbbe7f97a290f282 100644 (file)
@@ -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);