diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-21 16:48:50 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-11 04:18:28 +0200 |
commit | b4272646293b46fb8c7bc9b5176eb94d8141a278 (patch) | |
tree | 503d7fd170b4015f536f6f5749697ecf37f5e15b /fs/logfs | |
parent | ceph: switch to simple_follow_link() (diff) | |
download | linux-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 'fs/logfs')
-rw-r--r-- | fs/logfs/dir.c | 1 |
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 = { |