From: Adam Megacz Date: Fri, 9 Feb 2007 01:22:03 +0000 (+0000) Subject: afs-magic-for-linux-20070208 X-Git-Tag: BP-openafs-windows-kdfs-ifs~808 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=797f46a88ee9c50c34a8b6e1fa7c878e252d3a97;p=packages%2Fo%2Fopenafs.git afs-magic-for-linux-20070208 FIXES 52442 use the afs magic number --- diff --git a/src/afs/LINUX/osi_vfsops.c b/src/afs/LINUX/osi_vfsops.c index 2ed7c7406..16532d3a4 100644 --- a/src/afs/LINUX/osi_vfsops.c +++ b/src/afs/LINUX/osi_vfsops.c @@ -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