]> git.hungrycats.org Git - linux/commit
[PATCH] dev_t forward compatibility fix
authorAndrew Morton <akpm@osdl.org>
Wed, 1 Oct 2003 17:57:40 +0000 (10:57 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 1 Oct 2003 17:57:40 +0000 (10:57 -0700)
commit1885b3f16284780a50657f6872f3e3347c293c70
treeddac0b4f8023c54473456e5f84fb8225c12af501
parent297ec1fae1d855530c964f257f90fc620b689ba2
[PATCH] dev_t forward compatibility fix

From: Andries.Brouwer@cwi.nl

ext2 used a 32-bit field for dev_t, with possibly undefined storage
following; thus, no action was required to go to 32-bit dev_t, but going to
64-bit dev_t required some subtlety: 0 was written in the first word and
the 64 bits in the following two.  Al truncated my 64-bit stuff to 32 bits
but did not understand why there was this split, and wrote 0 followed by a
single word.  We should at least zero the word following to have
well-defined storage later.
fs/ext2/inode.c
fs/ext3/inode.c