NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/25070 CVS commit: [netbsd-5] src/sys/fs/smbfs

The following reply was made to PR kern/25070; it has been noted by GNATS.

From: "Manuel Bouyer" <>
Subject: PR/25070 CVS commit: [netbsd-5] src/sys/fs/smbfs
Date: Sun, 13 Jan 2013 16:03:39 +0000

 Module Name:   src
 Committed By:  bouyer
 Date:          Sun Jan 13 16:03:38 UTC 2013
 Modified Files:
        src/sys/fs/smbfs [netbsd-5]: smbfs_node.c smbfs_node.h smbfs_vnops.c
 Log Message:
 Pull up following revision(s) (requested by nakayama in ticket #1823):
        sys/fs/smbfs/smbfs_node.h: revision 1.13 via patch
        sys/fs/smbfs/smbfs_node.c: revision 1.48 via patch
        sys/fs/smbfs/smbfs_node.c: revision 1.49 via patch
        sys/fs/smbfs/smbfs_vnops.c: revision 1.83 via patch
        sys/fs/smbfs/smbfs_vnops.c: revision 1.84 via patch
 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.
 - Remove redundant vput() before vgone().
 - Avoid unnecessary mutex_exit() in smbfs_node_alloc().
 - Set NGONE bit to from-name vnode to invalidate the smbnode cache.
 To generate a diff of this commit:
 cvs rdiff -u -r1.39.6.1 -r1.39.6.2 src/sys/fs/smbfs/smbfs_node.c
 cvs rdiff -u -r1.12 -r1.12.64.1 src/sys/fs/smbfs/smbfs_node.h
 cvs rdiff -u -r1.65.6.1 -r1.65.6.2 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.

Home | Main Index | Thread Index | Old Index