[PATCH 1/2] ext4: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h Signed-off-by: Toralf Förster --- fs/ext4/xattr_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/xattr_security.c b/fs/ext4/xattr_security.c index 36f4c1a..1a3d629 100644 ---

[PATCH 2/2] security: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h igned-off-by: Toralf Förster --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 1832cf7..907a3ef 100644 ---