mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] fsnotify: hook on removexattr, too
Add fsnotify_xattr() hook to removexattr(). Signed-off-by: Robert Love <rml@novell.com> Signed-off-by: John McCtuchan <ttb@tentacle.dhs.org> Cc: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
90563ec412
commit
b800685437
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue