From b4272646293b46fb8c7bc9b5176eb94d8141a278 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 21 Apr 2015 10:48:50 -0400 Subject: [PATCH] logfs: fix a pagecache leak for symlinks Signed-off-by: Al Viro --- fs/logfs/dir.c | 1 + 1 file changed, 1 insertion(+) 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 = { -- 2.30.2