summaryrefslogtreecommitdiff
path: root/include/linux/fs_struct.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2003-09-04 20:54:44 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-04 20:54:44 -0700
commitec55b83db70e2dd10feae0b0cff2fc29dfdbdeb7 (patch)
tree7256486c1a20af157b3f605ab2d3fb4eb0344f19 /include/linux/fs_struct.h
parentd84b5b0b136c253e8d29e41be6ce363384f82927 (diff)
[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.
Diffstat (limited to 'include/linux/fs_struct.h')
0 files changed, 0 insertions, 0 deletions