projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90563ec
)
[PATCH] fsnotify: hook on removexattr, too
author
Robert Love
<rml@novell.com>
Tue, 6 Sep 2005 22:17:16 +0000
(15:17 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:27 +0000
(16:57 -0700)
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>
fs/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xattr.c
b/fs/xattr.c
index dc8bc7624f26be341900d900340cb0e7bcb6ce60..3f9c64bea151fd7c6df4297e8bfa01b626a02bd5 100644
(file)
--- a/
fs/xattr.c
+++ b/
fs/xattr.c
@@
-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;