Bug 8518 - SMB2 create call returns incorrect file allocation size.
Summary: SMB2 create call returns incorrect file allocation size.
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: SMB2 (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks: 8399
  Show dependency treegraph
 
Reported: 2011-10-10 16:55 UTC by Jeremy Allison
Modified: 2011-10-11 18:08 UTC (History)
1 user (show)

See Also:


Attachments
git-am fix for 3.6.1 (1.42 KB, patch)
2011-10-10 21:04 UTC, Jeremy Allison
metze: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Allison 2011-10-10 16:55:45 UTC
Discovered by Christian M Ambach <christian.ambach@de.ibm.com>.

We should be returning the output from SMB_VFS_GET_ALLOC_SIZE() inside smb2_create.c instead of doing our own calculation.

Patch from Christian pushed to master will follow.

Jeremy.
Comment 1 Jeremy Allison 2011-10-10 21:04:48 UTC
Created attachment 6982 [details]
git-am fix for 3.6.1

Fix from Christian Ambach <ambi@samba.org> that went into master.
Comment 2 Stefan Metzmacher 2011-10-11 06:38:35 UTC
Comment on attachment 6982 [details]
git-am fix for 3.6.1

Looks good
Comment 3 Stefan Metzmacher 2011-10-11 06:39:01 UTC
Karolin, please pick for the release
Comment 4 Karolin Seeger 2011-10-11 18:08:04 UTC
Pushed to v3-6-test.
Closing out bug report.

Thanks!