diff options
-rw-r--r-- | fs/hugetlbfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 4ee3f006b861..0b23b963bb44 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c | |||
@@ -624,7 +624,6 @@ hugetlbfs_parse_options(char *options, struct hugetlbfs_config *pconfig) | |||
624 | do_div(size, 100); | 624 | do_div(size, 100); |
625 | rest++; | 625 | rest++; |
626 | } | 626 | } |
627 | size &= HPAGE_MASK; | ||
628 | pconfig->nr_blocks = (size >> HPAGE_SHIFT); | 627 | pconfig->nr_blocks = (size >> HPAGE_SHIFT); |
629 | value = rest; | 628 | value = rest; |
630 | } else if (!strcmp(opt,"nr_inodes")) { | 629 | } else if (!strcmp(opt,"nr_inodes")) { |