From: Al Viro Date: Tue, 21 Apr 2015 14:48:50 +0000 (-0400) Subject: logfs: fix a pagecache leak for symlinks X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b4272646293b46fb8c7bc9b5176eb94d8141a278;p=openwrt%2Fstaging%2Fblogic.git logfs: fix a pagecache leak for symlinks Signed-off-by: Al Viro --- 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 = {