|
@@ -734,6 +734,7 @@ static const struct super_operations hugetlbfs_ops = {
|
|
.delete_inode = hugetlbfs_delete_inode,
|
|
.delete_inode = hugetlbfs_delete_inode,
|
|
.drop_inode = hugetlbfs_drop_inode,
|
|
.drop_inode = hugetlbfs_drop_inode,
|
|
.put_super = hugetlbfs_put_super,
|
|
.put_super = hugetlbfs_put_super,
|
|
|
|
+ .show_options = generic_show_options,
|
|
};
|
|
};
|
|
|
|
|
|
static int
|
|
static int
|
|
@@ -817,6 +818,8 @@ hugetlbfs_fill_super(struct super_block *sb, void *data, int silent)
|
|
struct hugetlbfs_config config;
|
|
struct hugetlbfs_config config;
|
|
struct hugetlbfs_sb_info *sbinfo;
|
|
struct hugetlbfs_sb_info *sbinfo;
|
|
|
|
|
|
|
|
+ save_mount_options(sb, data);
|
|
|
|
+
|
|
config.nr_blocks = -1; /* No limit on size by default */
|
|
config.nr_blocks = -1; /* No limit on size by default */
|
|
config.nr_inodes = -1; /* No limit on number of inodes by default */
|
|
config.nr_inodes = -1; /* No limit on number of inodes by default */
|
|
config.uid = current->fsuid;
|
|
config.uid = current->fsuid;
|