Page MenuHomeFreeBSD

Preserve mount flags in smbfs.
ClosedPublic

Authored by trasz on Nov 19 2014, 9:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 1:12 PM
Unknown Object (File)
Fri, Apr 19, 11:57 AM
Unknown Object (File)
Sun, Apr 14, 5:26 PM
Unknown Object (File)
Mar 24 2024, 6:11 PM
Unknown Object (File)
Feb 16 2024, 8:09 AM
Unknown Object (File)
Feb 16 2024, 8:09 AM
Unknown Object (File)
Feb 16 2024, 7:36 AM
Unknown Object (File)
Feb 16 2024, 6:27 AM
Subscribers
None

Details

Summary

Fix smbfs to not zero out statfs f_flags field. Previously, this
made getmntinfo() return empty flags for smbfs filesystems when
called with MNT_WAIT. It's not visible with mount(8), since it uses
MNT_NOWAIT, but broke autounmount(8) operation.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

trasz retitled this revision from to Preserve mount flags in smbfs..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)
kib edited edge metadata.

Unconditional zeroing of f_flags seems to be present from the initial commit of smbfs.
I have no idea why it was done this way.

I do not see anything wrong with the patch, but I equally know nothing about smbfs.

This revision is now accepted and ready to land.Nov 20 2014, 6:29 PM
trasz updated this revision to Diff 2488.

Closed by commit rS274784 (authored by @trasz).