diff options
author | Jan Kara <jack@suse.cz> | 2011-04-20 20:30:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-21 07:34:44 -0700 |
commit | df7e130384efd1c732aa08648dad46687fee3d96 (patch) | |
tree | 7dd8f9f0fe4cdcb27242a33783440bae5690e47e /fs/notify | |
parent | 584f79046780e10cb24367a691f8c28398a00e84 (diff) | |
download | linux-stable-df7e130384efd1c732aa08648dad46687fee3d96.tar.gz linux-stable-df7e130384efd1c732aa08648dad46687fee3d96.tar.bz2 linux-stable-df7e130384efd1c732aa08648dad46687fee3d96.zip |
vfs: Pass setxattr(2) flags properly
For some reason generic_setxattr() did not pass flags (XATTR_CREATE,
XATTR_REPLACE) to the filesystem specific helper. This caused that
setxattr(2) syscall just ignored these flags.
Fix the bug by passing flags correctly.
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions