summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o2009-06-13 16:09:41 +0200
committerTheodore Ts'o2009-06-13 16:09:41 +0200
commit7f4520cc6242780ce720aa440ad4b391f998b558 (patch)
treec8f1d99e019f2e29a967851031f4a60bf7ab1467 /fs/ext4/ext4.h
parentext4: online defrag -- Add EXT4_IOC_MOVE_EXT ioctl (diff)
downloadkernel-qcow2-linux-7f4520cc6242780ce720aa440ad4b391f998b558.tar.gz
kernel-qcow2-linux-7f4520cc6242780ce720aa440ad4b391f998b558.tar.xz
kernel-qcow2-linux-7f4520cc6242780ce720aa440ad4b391f998b558.zip
ext4: change s_mount_opt to be an unsigned int
We can only fit 32 options in s_mount_opt because an unsigned long is 32-bits on a x86 machine. So use an unsigned int to save space on 64-bit platforms. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 276a26f117e6..569f527080bf 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -852,7 +852,7 @@ struct ext4_sb_info {
struct buffer_head * s_sbh; /* Buffer containing the super block */
struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */
struct buffer_head **s_group_desc;
- unsigned long s_mount_opt;
+ unsigned int s_mount_opt;
ext4_fsblk_t s_sb_block;
uid_t s_resuid;
gid_t s_resgid;