The Samba-Bugzilla – Attachment 9000 Details for
Bug 9970
Backport vfs_streams_xattr fixes to 4.0 and 4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Backport of 5c488cfb7 for 4.0.
for-4.0-0001-Initialize-the-file-descriptor-in-the-files_struct-b.patch (text/plain), 1.22 KB, created by
Christof Schmitt
on 2013-06-26 23:01:54 UTC
(
hide
)
Description:
Backport of 5c488cfb7 for 4.0.
Filename:
MIME Type:
Creator:
Christof Schmitt
Created:
2013-06-26 23:01:54 UTC
Size:
1.22 KB
patch
obsolete
>From 19c5af5b9b7a0e20018a4dbf082eee3e2f8f41ff Mon Sep 17 00:00:00 2001 >From: Christof Schmitt <christof.schmitt@us.ibm.com> >Date: Wed, 12 Jun 2013 14:49:53 -0700 >Subject: [PATCH 1/2] Initialize the file descriptor in the files_struct before trying to close it. Otherwise, if one of the SETXATTR calls had failed, the close() call will return EBADF. > >Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com> >Reviewed-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Richard Sharpe <rsharpe@samba.org> > >Autobuild-User(master): Jeremy Allison <jra@samba.org> >Autobuild-Date(master): Thu Jun 13 01:43:18 CEST 2013 on sn-devel-104 >(cherry picked from commit 5c488cfb79873287e769622fd5da43b7a735e29c) >--- > source3/modules/vfs_streams_xattr.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c >index dd1135d..748af4f 100644 >--- a/source3/modules/vfs_streams_xattr.c >+++ b/source3/modules/vfs_streams_xattr.c >@@ -532,6 +532,7 @@ static int streams_xattr_open(vfs_handle_struct *handle, > * BUGBUGBUG -- we would need to call fd_close_posix here, but > * we don't have a full fsp yet > */ >+ fsp->fh->fd = hostfd; > SMB_VFS_CLOSE(fsp); > } > >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
jra
:
review+
Actions:
View
Attachments on
bug 9970
: 9000 |
9001
|
9002