vfs: Pass setxattr(2) flags properly
authorJan Kara <jack@suse.cz>
Wed, 20 Apr 2011 18:30:40 +0000 (20:30 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Apr 2011 14:34:44 +0000 (07:34 -0700)
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>

No differences found