From: Serge E. Hallyn Date: Sun, 21 Oct 2007 23:41:38 +0000 (-0700) Subject: capabilities: clean up file capability reading X-Git-Tag: v2.6.24-rc1~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68680e4731abbd78863063aaa0dca2a6d8cc723;p=pandora-kernel.git capabilities: clean up file capability reading Simplify the vfs_cap_data structure. Also fix get_file_caps which was declaring __le32 v1caps[XATTR_CAPS_SZ] on the stack, but XATTR_CAPS_SZ is already * sizeof(__le32). [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Serge E. Hallyn Cc: Andrew Morgan Cc: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed