xfs: make i_flags an unsigned long
authorChristoph Hellwig <hch@infradead.org>
Sun, 18 Dec 2011 20:00:08 +0000 (20:00 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 17 Jan 2012 21:03:50 +0000 (15:03 -0600)
commit49e4c70e52a2bc2090e5a4e003e2888af21d6a2b
tree9d9ecf18b5a78d187f622a769cc1464150ad7740
parent8096b1ebb59b94b3bc6abb6b7d121419e83447ba
xfs: make i_flags an unsigned long

To be used for bit wakeup i_flags needs to be an unsigned long or we'll
run into trouble on big endian systems.  Because of the 1-byte i_update
field right after it this actually causes a fairly large size increase
on its own (4 or 8 bytes), but that increase will be more than offset
by the next two patches.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_inode.h