summaryrefslogtreecommitdiffstats
path: root/fs/logfs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-04-21 16:48:50 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2015-05-11 04:18:28 +0200
commitb4272646293b46fb8c7bc9b5176eb94d8141a278 (patch)
tree503d7fd170b4015f536f6f5749697ecf37f5e15b /fs/logfs/dir.c
parentceph: switch to simple_follow_link() (diff)
downloadlinux-b4272646293b46fb8c7bc9b5176eb94d8141a278.tar.xz
linux-b4272646293b46fb8c7bc9b5176eb94d8141a278.zip
logfs: fix a pagecache leak for symlinks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-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 = {