commit | 1601fbad2b14e0b8d4dbb55e749bfe31e972818a | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Wed Mar 09 14:23:34 2011 -0500 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Mon Jul 18 12:29:39 2011 -0400 |
tree | ca9271af43fc7b0edaaa9e5464a82d3b427db8b2 | |
parent | f381c272224f5f158f5cff64f8f3481fa0eee8b3 [diff] |
xattr: define vfs_getxattr_alloc and vfs_xattr_cmp vfs_getxattr_alloc() and vfs_xattr_cmp() are two new kernel xattr helper functions. vfs_getxattr_alloc() first allocates memory for the requested xattr and then retrieves it. vfs_xattr_cmp() compares a given value with the contents of an extended attribute. Signed-off-by: Mimi Zohar <zohar@us.ibm.com> Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>