From: Jan Kara Date: Wed, 20 Apr 2011 18:30:40 +0000 (+0200) Subject: vfs: Pass setxattr(2) flags properly X-Git-Tag: v2.6.39-rc5~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7e130384efd1c732aa08648dad46687fee3d96;p=pandora-kernel.git 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 Acked-by: Christoph Hellwig Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed