Patch-ID# 104671-01
Keywords: vfs_mlock vfs->vfs_f check routine automount mount ustat
Synopsis: SunOS 4.1.4: vafsidtovfs() routine doesn't check the vfs flag
Date: Feb/27/97

Solaris Release: 1.1.2      

SunOS Release: 4.1.4

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc
    NOTE: sun4 sun4c sun4m

BugId's fixed with this patch: 1111875

Changes incorporated in this version: 

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch:  vfs.o

   

Problem Description: 

1111875  The vafsidtovfs() routine fails to check the status
         of the vfs flag.  Consequently, if the vfs is currently
         locked, (the vnode is invalid), the kernel will
         panic when attempting to access the locked vnode.


Patch Installation Instructions: 

1) As root, make a backup of the original vfs.o file:
   mv /usr/sys/`arch -k`/OBJ/vfs.o /usr/sys/`arch -k`/OBJ/vfs.o.fcs
	
2) Copy the patched file to the OBJ directory:
   cp vfs.o /usr/sys/`arch -k`/OBJ
	
3) Build and install a new kernel, then reboot the system.
   Please refer to the System and Network Administration manual
   for details on creating custom kernels.
