s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob
commit492942a66ad89172135512cd433b50c13726f777
authorAndrew Bartlett <abartlet@samba.org>
Mon, 16 Apr 2012 07:14:06 +0000 (16 17:14 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 18 Apr 2012 02:05:00 +0000 (18 12:05 +1000)
treebd609f41480fb71ca51eb9add04a5d386eba1735
parent351c78fc670d5e26ebc2deea7ef930a94b116697
s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob

In this case, the blob is already in memory, so it is easier to return the full
blob to the caller, and let the caller decide if some interface restriction
stops the full blob from being passed all the way up the stack.

This allows us to quickly write a python wrapper for this xattr storage
mechanism.

Andrew Bartlett
source3/lib/xattr_tdb.c
source3/lib/xattr_tdb.h
source3/modules/vfs_xattr_tdb.c