Module Name: src Committed By: nakayama Date: Wed Nov 28 13:34:24 UTC 2012
Modified Files: src/sys/fs/smbfs: smbfs_node.c smbfs_node.h smbfs_vnops.c Log Message: Various fixes for smbfs: - Implement NGONE to fix caching issue described in PR kern/25070. Mostly taken from FreeBSD r125637. - Revert revision 1.70 of smbfs_vnops.c to fix setattr to opened direcotry. In case of SMB_CAP_NT_SMBS, NOPEN is set after smbfs_smb_ntcreatex() call. If NOPEN is set in front, it will immediately return by condition at do_open label. - In smbfs_close(), call smbfs_smb_close() and drop NOPEN bit in the case of direcotry. Otherwise smbfs_rmdir() fails when the directory was opened. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/fs/smbfs/smbfs_node.c cvs rdiff -u -r1.12 -r1.13 src/sys/fs/smbfs/smbfs_node.h cvs rdiff -u -r1.82 -r1.83 src/sys/fs/smbfs/smbfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.