Commit b8006854 authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[PATCH] fsnotify: hook on removexattr, too

Add fsnotify_xattr() hook to removexattr().
Signed-off-by: default avatarRobert Love <rml@novell.com>
Signed-off-by: default avatarJohn McCtuchan <ttb@tentacle.dhs.org>
Cc: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 90563ec4
...@@ -325,6 +325,8 @@ removexattr(struct dentry *d, char __user *name) ...@@ -325,6 +325,8 @@ removexattr(struct dentry *d, char __user *name)
down(&d->d_inode->i_sem); down(&d->d_inode->i_sem);
error = d->d_inode->i_op->removexattr(d, kname); error = d->d_inode->i_op->removexattr(d, kname);
up(&d->d_inode->i_sem); up(&d->d_inode->i_sem);
if (!error)
fsnotify_xattr(d);
} }
out: out:
return error; return error;
......
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