Commit b4272646 authored by Al Viro's avatar Al Viro

logfs: fix a pagecache leak for symlinks

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ac194dcc
...@@ -779,6 +779,7 @@ int logfs_replay_journal(struct super_block *sb) ...@@ -779,6 +779,7 @@ int logfs_replay_journal(struct super_block *sb)
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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment