]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2: Add a name_len field to ocfs2_xattr_info.
authorJoel Becker <joel.becker@oracle.com>
Sat, 15 Aug 2009 01:17:07 +0000 (18:17 -0700)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:09 +0000 (15:41 -0800)
commit18853b95d1fb964b76c3393a12c4d861e7779460
tree5834a4797a9eafcc45f9a78b99b5db888060e274
parent6b240ff63c9dda93366c61c969b81ca22fe676ac
ocfs2: Add a name_len field to ocfs2_xattr_info.

Rather than calculating strlen all over the place, let's store the
name length directly on ocfs2_xattr_info.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/xattr.c