]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't copy the NFSMNT_* flags into struct statfs's f_flags field,
authorIan Dowse <iedowse@FreeBSD.org>
Mon, 2 May 2005 15:57:10 +0000 (15:57 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Mon, 2 May 2005 15:57:10 +0000 (15:57 +0000)
commit2c443c417ca247b394fa1dd6ed5317df344d34e6
tree7093fc2f9b0dae03f0ff21173f3df3b2e09248d7
parentc46578bd279f16029ce1a5f7bd73c1ec6aa9c3c8
Don't copy the NFSMNT_* flags into struct statfs's f_flags field,
as they have no connection with the expected MNT_* flags. This bug
was exposed 18 months ago when the assignments to f_flags in
vfs_syscalls.c were moved to before the VFS_STATFS() call. It was
fixed in the CSRG source 10 years ago, but we never picked up that
change.

PR: kern/80390
MFC after: 1 week
sys/nfsclient/nfs_vfsops.c