diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-21 21:22:31 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-22 01:31:57 +0200 |
commit | 450fcd79c795698c33ef2e0e4e85460128ba7bfd (patch) | |
tree | a16459dc9c8e235c52d09c742bdd01028dc3ab8f /source3 | |
parent | 2b404462f5b055843ecc7af27bfd05d5d11d09e4 (diff) | |
download | samba-450fcd79c795698c33ef2e0e4e85460128ba7bfd.tar.gz samba-450fcd79c795698c33ef2e0e4e85460128ba7bfd.tar.bz2 samba-450fcd79c795698c33ef2e0e4e85460128ba7bfd.zip |
s3-vfs: Remove extra calls to SMB_VFS_HANDLE_GET_DATA
Found by the talloc_stackframe() out of order checker!
Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_xattr_tdb.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index 36e113e780..c0debed1f7 100644 --- a/source3/modules/vfs_xattr_tdb.c +++ b/source3/modules/vfs_xattr_tdb.c @@ -150,8 +150,6 @@ static int xattr_tdb_setxattr(struct vfs_handle_struct *handle, TALLOC_FREE(frame); return -1; }); - SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, return -1); - ret = xattr_tdb_get_file_id(handle, path, &id); if (ret == -1) { TALLOC_FREE(frame); @@ -207,8 +205,6 @@ static ssize_t xattr_tdb_listxattr(struct vfs_handle_struct *handle, TALLOC_FREE(frame); return -1; }); - SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, return -1); - ret = xattr_tdb_get_file_id(handle, path, &id); if (ret == -1) { TALLOC_FREE(frame); @@ -263,8 +259,6 @@ static int xattr_tdb_removexattr(struct vfs_handle_struct *handle, TALLOC_FREE(frame); return -1; }); - SMB_VFS_HANDLE_GET_DATA(handle, db, struct db_context, TALLOC_FREE(frame); return -1); - ret = xattr_tdb_get_file_id(handle, path, &id); if (ret == -1) { TALLOC_FREE(frame); |