logfs: fix a pagecache leak for symlinks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -779,6 +779,7 @@ fail:
|
|||||||
const struct inode_operations logfs_symlink_iops = {
|
const struct inode_operations logfs_symlink_iops = {
|
||||||
.readlink = generic_readlink,
|
.readlink = generic_readlink,
|
||||||
.follow_link = page_follow_link_light,
|
.follow_link = page_follow_link_light,
|
||||||
|
.put_link = page_put_link,
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct inode_operations logfs_dir_iops = {
|
const struct inode_operations logfs_dir_iops = {
|
||||||
|
|||||||
Reference in New Issue
Block a user