]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fs/hfsplus: move xattr_name allocation in hfsplus_getxattr()
authorFabian Frederick <fabf@skynet.be>
Thu, 16 Apr 2015 19:46:58 +0000 (12:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:04 +0000 (09:04 -0400)
commita3cef4cd6886c755d2148739699751900b51a365
tree49e364b4aaee42340108e3653d268f10b89529e0
parentf01fa5fb35c132587855be788297771e94b84330
fs/hfsplus: move xattr_name allocation in hfsplus_getxattr()

security/trusted/user/osx getxattr did the same
xattr_name initialization. Move that operation in hfsplus_getxattr().

Tested with security/trusted/user getfattr/setfattr

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/xattr.c
fs/hfsplus/xattr.h
fs/hfsplus/xattr_security.c
fs/hfsplus/xattr_trusted.c
fs/hfsplus/xattr_user.c