aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRobert Love <rml@novell.com>2005-09-06 18:17:16 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 19:57:27 -0400
commitb80068543794864f533163c586be2a1a9880a65d (patch)
tree54795bcc0fb0cd3d8bea3a301e74c9049cd0c626 /fs
parent90563ec4129f14d19f018240d1d3ff5c0e5e6392 (diff)
[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>
Diffstat (limited to 'fs')
-rw-r--r--fs/xattr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xattr.c b/fs/xattr.c
index dc8bc7624f26..3f9c64bea151 100644
--- a/fs/xattr.c
+++ b/fs/xattr.c
@@ -325,6 +325,8 @@ removexattr(struct dentry *d, char __user *name)
325 down(&d->d_inode->i_sem); 325 down(&d->d_inode->i_sem);
326 error = d->d_inode->i_op->removexattr(d, kname); 326 error = d->d_inode->i_op->removexattr(d, kname);
327 up(&d->d_inode->i_sem); 327 up(&d->d_inode->i_sem);
328 if (!error)
329 fsnotify_xattr(d);
328 } 330 }
329out: 331out:
330 return error; 332 return error;