STABLE14-afs-magic-for-linux-20070208

FIXES 52442

use the afs magic number


(cherry picked from commit 797f46a88e)
This commit is contained in:
Adam Megacz 2007-02-09 01:25:48 +00:00 committed by Derrick Brashear
parent 3be7a88099
commit 0854527ca0

View File

@ -416,7 +416,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