![]() | |||||||||||||
Messages in this thread Patch in this message |
Linus,
What do you think about the attached simple patch, making the cookie
size more explicit?
I was looking at fixing up reiserfs, which already has 32-bit storage
for dev_t on-disk, and the following change came to mind.
--
Jeff Garzik | Only so many songs can be sung
Building 1024 | with two lips, two lungs, and one tongue.
MandrakeSoft | - nomeansnoIndex: include/linux/kdev_t.h
===================================================================
RCS file: /cvsroot/gkernel/linux_2_5/include/linux/kdev_t.h,v
retrieving revision 1.2
diff -u -r1.2 kdev_t.h
--- include/linux/kdev_t.h 2002/01/01 22:41:11 1.2
+++ include/linux/kdev_t.h 2002/01/01 23:02:10
@@ -86,7 +86,7 @@
* internal equality comparisons and for things
* like NFS filehandle conversion.
*/
-static inline unsigned int kdev_val(kdev_t dev)
+static inline u32 kdev_val(kdev_t dev)
{
return dev.value;
} | ||||||||||||
| Last update: 2005-03-22 12:15 [W:0.690 / U:0.050 seconds] ©2003-2008 Jasper Spaans | |||||||||||||