]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
afs-magic-for-linux-20070208
authorAdam Megacz <megacz@cs.berkeley.edu>
Fri, 9 Feb 2007 01:22:03 +0000 (01:22 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 9 Feb 2007 01:22:03 +0000 (01:22 +0000)
FIXES 52442

use the afs magic number

src/afs/LINUX/osi_vfsops.c

index 2ed7c740672f5ed8f5b196f10f751ef06de10ba0..16532d3a46707427e10d2e45cbf2d671782ca455 100644 (file)
@@ -422,7 +422,8 @@ afs_statfs(struct super_block *sbp, struct statfs *__statp, int size)
 
     AFS_STATCNT(afs_statfs);
 
-    statp->f_type = 0;         /* Can we get a real type sometime? */
+    /* hardcode in case that which is giveth is taken away */
+    statp->f_type = 0x5346414F;
 #if defined(STATFS_TAKES_DENTRY)
     statp->f_bsize = dentry->d_sb->s_blocksize;
 #else