OpenAFS CVS Commit: openafs/src/afs/LINUX by shadow

Mon, 18 Oct 2004 00:55:17 EDT

Update of /cvs/openafs/src/afs/LINUX
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-stable-1_2_x/src/afs/LINUX

Modified Files:
      Tag: openafs-stable-1_2_x
Log Message:
DELTA STABLE12-linux-null-superblock-if-mount-failed-20040728
FIXES 6002

The appended patch resets afs_globalVFS to NULL if /afs cannot be mounted,
eg., if no cell server is accessible.

There are two advantages:

 - it is possible to do "afsd -shutdown" to terminate all daemons
 - more importantly, if /afs cannot be mounted, the linux kernel will
   probably free the superblock, ie the memory pointed to afs_globalVFS.

--- DELTA config for openafs-stable-1_2_x follows ---
STABLE12-linux-null-superblock-if-mount-failed-20040728 openafs/src/afs/LINUX/osi_vfsops.c