summaryrefslogtreecommitdiffstats
path: root/fs/logfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-21 10:48:50 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-10 22:18:28 -0400
commitb4272646293b46fb8c7bc9b5176eb94d8141a278 (patch)
tree503d7fd170b4015f536f6f5749697ecf37f5e15b /fs/logfs
parentac194dccd2395a51b106c9b0aab7310fa6946b0a (diff)
downloadlinux-stable-b4272646293b46fb8c7bc9b5176eb94d8141a278.tar.gz
linux-stable-b4272646293b46fb8c7bc9b5176eb94d8141a278.tar.bz2
linux-stable-b4272646293b46fb8c7bc9b5176eb94d8141a278.zip
logfs: fix a pagecache leak for symlinks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/logfs')
-rw-r--r--fs/logfs/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/dir.c b/fs/logfs/dir.c
index 4cf38f118549..f9b45d46d4c4 100644
--- a/fs/logfs/dir.c
+++ b/fs/logfs/dir.c
@@ -779,6 +779,7 @@ fail:
const struct inode_operations logfs_symlink_iops = {
.readlink = generic_readlink,
.follow_link = page_follow_link_light,
+ .put_link = page_put_link,
};
const struct inode_operations logfs_dir_iops = {