patch-2.4.0-test9 linux/fs/bfs/inode.c

Next file: linux/fs/block_dev.c
Previous file: linux/fs/attr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/fs/bfs/inode.c linux/fs/bfs/inode.c
@@ -197,7 +197,7 @@
 	buf->f_bfree = buf->f_bavail = s->su_freeb;
 	buf->f_files = s->su_lasti + 1 - BFS_ROOT_INO;
 	buf->f_ffree = s->su_freei;
-	buf->f_fsid.val[0] = s->s_dev;
+	buf->f_fsid.val[0] = kdev_t_to_nr(s->s_dev);
 	buf->f_namelen = BFS_NAMELEN;
 	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)