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>
Showing
- fs/hfsplus/xattr.c 26 additions, 12 deletionsfs/hfsplus/xattr.c
- fs/hfsplus/xattr.h 4 additions, 8 deletionsfs/hfsplus/xattr.h
- fs/hfsplus/xattr_security.c 3 additions, 16 deletionsfs/hfsplus/xattr_security.c
- fs/hfsplus/xattr_trusted.c 3 additions, 16 deletionsfs/hfsplus/xattr_trusted.c
- fs/hfsplus/xattr_user.c 2 additions, 15 deletionsfs/hfsplus/xattr_user.c
Loading
Please register or sign in to comment