]> git.baikalelectronics.ru Git - kernel.git/commit
fs/hfsplus: move xattr_name allocation in hfsplus_setxattr()
authorFabian Frederick <fabf@skynet.be>
Thu, 16 Apr 2015 19:47:01 +0000 (12:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:05 +0000 (09:04 -0400)
commitc7bf5d938f132a32e8879474a384f28049e7b530
tree4ee3f0645b0a060a78945e8ce214c75f31fffa22
parentbd7f22e21293c63913669d4675a2ffef678df0c1
fs/hfsplus: move xattr_name allocation in hfsplus_setxattr()

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

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