VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Robert Love <rml@novell.com> 2005-09-06 15:17:16 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2005-09-07 16:57:27 -0700 commit: b80068543794864f533163c586be2a1a9880a65d parent: 90563ec4129f14d19f018240d1d3ff5c0e5e6392
Commit Summary:
[PATCH] fsnotify: hook on removexattr, too
Diffstat:
1 file 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)
 		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;