These two commits fix a problem in the vfs_streams_xattr module. Please backport them to the 4.0 and 4.1 release branches. 5c488cfb7 is already included in the 4.1 branch, so only 4cd7e1d2 is required there: commit 4cd7e1d283f060e794023d5b0a48a7ec97d33820 Author: Christof Schmitt <christof.schmitt@us.ibm.com> Date: Wed Jun 12 14:55:15 2013 -0700 vfs_streams_xattr: Do not attempt to write empty attribute twice commit 5c488cfb79873287e769622fd5da43b7a735e29c Author: Christof Schmitt <christof.schmitt@us.ibm.com> Date: Wed Jun 12 14:49:53 2013 -0700 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. Patches made with cherry-pick -x are attached.
Created attachment 9000 [details] Backport of 5c488cfb7 for 4.0.
Created attachment 9001 [details] Backport of 4cd7e1d283 for 4.0
Created attachment 9002 [details] Backport of 4cd7e1d283f0 for 4.1
Comment on attachment 9000 [details] Backport of 5c488cfb7 for 4.0. LGTM
Comment on attachment 9001 [details] Backport of 4cd7e1d283 for 4.0 LGTM.
Comment on attachment 9002 [details] Backport of 4cd7e1d283f0 for 4.1 LGTM.
Reassigning to Karolin for inclusion in 4.0.next. Jeremy.
Pushed to autobuild-v4-0-test, v4-1-test will be synced with the master branch again tomorrow (but it's very good that it gets attention now! :-).
Pushed to v4-0-test (and v4-1-test). Closing out bug report. Thanks!