]> git.baikalelectronics.ru Git - kernel.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)
commitbd7f22e21293c63913669d4675a2ffef678df0c1
tree49e364b4aaee42340108e3653d268f10b89529e0
parentb4be24535a1641cf616bbfde3b365303008c7e1e
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