svn commit: samba r4313 - in branches/SAMBA_4_0/source/ntvfs/posix: .

tridge at samba.org tridge at samba.org
Tue Dec 21 11:43:46 GMT 2004


Author: tridge
Date: 2004-12-21 11:43:46 +0000 (Tue, 21 Dec 2004)
New Revision: 4313

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4313

Log:
fixed a bug in handling new xattrs in the tdb xattr backend


Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c	2004-12-21 11:10:28 UTC (rev 4312)
+++ branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c	2004-12-21 11:43:46 UTC (rev 4313)
@@ -47,8 +47,7 @@
 	status = pull_xattr_blob_tdb(pvfs, mem_ctx, XATTR_LIST_ATTR, 
 				     fname, fd, 100, &blob);
 	if (!NT_STATUS_IS_OK(status)) {
-		talloc_free(mem_ctx);
-		return NT_STATUS_OK;
+		blob = data_blob(NULL, 0);
 	}
 
 	for (s=blob.data; s < (char *)(blob.data+blob.length); s += strlen(s) + 1) {



More information about the samba-cvs mailing list