diff options
-rw-r--r-- | fs/xattr.c | 2 |
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 | } |
329 | out: | 331 | out: |
330 | return error; | 332 | return error; |