提交 b8006854 编写于 作者: R Robert Love 提交者: Linus Torvalds

[PATCH] fsnotify: hook on removexattr, too

Add fsnotify_xattr() hook to removexattr().
Signed-off-by: NRobert Love <rml@novell.com>
Signed-off-by: NJohn McCtuchan <ttb@tentacle.dhs.org>
Cc: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 90563ec4
......@@ -325,6 +325,8 @@ removexattr(struct dentry *d, char __user *name)
down(&d->d_inode->i_sem);
error = d->d_inode->i_op->removexattr(d, kname);
up(&d->d_inode->i_sem);
if (!error)
fsnotify_xattr(d);
}
out:
return error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册