]> git.neil.brown.name Git - history.git/commit
[PATCH] large dev_t - second series (11/15)
authorAlexander Viro <viro@www.linux.org.uk>
Fri, 5 Sep 2003 03:54:44 +0000 (20:54 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 5 Sep 2003 03:54:44 +0000 (20:54 -0700)
commitec55b83db70e2dd10feae0b0cff2fc29dfdbdeb7
tree7256486c1a20af157b3f605ab2d3fb4eb0344f19
parentd84b5b0b136c253e8d29e41be6ce363384f82927
[PATCH] large dev_t - second series (11/15)

Fix for JFS handling of device nodes; it has 32bit on-disk device
numbers, shoves them into 16bit (->i_rdev) when inode is read and writes
them back truncated when inode is written to disk.  For now (and 2.4 will
have to do the same permanently) we store the original value in private
part of inode and use it instead of ->i_rdev in ->write_inode(); mknod()
sets it at the same time as ->i_rdev.  It will become unnecessary when
dev_t becomes wider than 16 bits, but for now we need it.
fs/jfs/jfs_imap.c
fs/jfs/jfs_incore.h
fs/jfs/jfs_mount.c
fs/jfs/namei.c