Currently the shm filesystem doesn't set the correct magic value for
the statfs call. I'm appending a patch to fix this.
Linus, please add this to the next kernel.
Thanks,
Andreas
--- ipc/shm.c.~1~ Wed Apr 12 13:32:36 2000
+++ ipc/shm.c Wed Apr 12 13:38:53 2000
@@ -370,7 +370,7 @@
static int shm_statfs(struct super_block *sb, struct statfs *buf)
{
- buf->f_type = 0;
+ buf->f_type = SHM_FS_MAGIC;
buf->f_bsize = PAGE_SIZE;
buf->f_blocks = shm_ctlall;
buf->f_bavail = buf->f_bfree = shm_ctlall - shm_tot;
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de
currently: aj@oss.sgi.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:19 EST