Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;