mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
logfs: fix a pagecache leak for symlinks
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ac194dccd2
commit
b427264629
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user