summaryrefslogtreecommitdiffstats
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
parentac194dccd2395a51b106c9b0aab7310fa6946b0a (diff)
downloadop-kernel-dev-b4272646293b46fb8c7bc9b5176eb94d8141a278.zip
op-kernel-dev-b4272646293b46fb8c7bc9b5176eb94d8141a278.tar.gz
logfs: fix a pagecache leak for symlinks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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 4cf38f1..f9b45d4 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 = {
OpenPOWER on IntegriCloud