mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[PATCH] fsnotify: hook on removexattr, too
Add fsnotify_xattr() hook to removexattr(). Signed-off-by: Robert Love <[email protected]> Signed-off-by: John McCtuchan <[email protected]> Cc: Andreas Gruenbacher <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
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