From: Adam Megacz Date: Fri, 9 Feb 2007 01:23:40 +0000 (+0000) Subject: DEVEL15-afs-magic-for-linux-20070208 X-Git-Tag: openafs-devel-1_5_15~24 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0db9b4a36e49b9340734e1cf3e87d6a69447c369;p=packages%2Fo%2Fopenafs.git DEVEL15-afs-magic-for-linux-20070208 FIXES 52442 use the afs magic number (cherry picked from commit 797f46a88ee9c50c34a8b6e1fa7c878e252d3a97) --- 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