diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-13 16:25:59 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-13 16:25:59 +0200 |
commit | 30beab1491f0b96b2f23d3fb68af01fd921a16d8 (patch) | |
tree | c580bdc0846269fbb10feeda901ecec1a48ee2ef /fs/xattr.c | |
parent | AUDIT: Really don't audit auditd. (diff) | |
parent | Linux 2.6.13-rc3 (diff) | |
download | linux-30beab1491f0b96b2f23d3fb68af01fd921a16d8.tar.xz linux-30beab1491f0b96b2f23d3fb68af01fd921a16d8.zip |
Merge with /shiny/git/linux-2.6/.git
Diffstat (limited to 'fs/xattr.c')
-rw-r--r-- | fs/xattr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/xattr.c b/fs/xattr.c index 93dee70a1dbe..6acd5c63da91 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -16,6 +16,7 @@ #include <linux/security.h> #include <linux/syscalls.h> #include <linux/module.h> +#include <linux/fsnotify.h> #include <asm/uaccess.h> /* @@ -57,8 +58,10 @@ setxattr(struct dentry *d, char __user *name, void __user *value, if (error) goto out; error = d->d_inode->i_op->setxattr(d, kname, kvalue, size, flags); - if (!error) + if (!error) { + fsnotify_xattr(d); security_inode_post_setxattr(d, kname, kvalue, size, flags); + } out: up(&d->d_inode->i_sem); } |