Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83056
b: refs/heads/master
c: 818db35
h: refs/heads/master
v: v3
  • Loading branch information
Michael Marineau authored and Linus Torvalds committed Feb 5, 2008
1 parent 2eb46f3 commit dcf7604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b04c6890f0dc7ea6c85b9adebc883c55c667d97
refs/heads/master: 818db35992c249dc32c1d86daf7d533fb0952f5d
2 changes: 1 addition & 1 deletion trunk/mm/shmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -2012,7 +2012,7 @@ static int shmem_parse_options(char *options, int *mode, uid_t *uid,
}
if (*rest)
goto bad_val;
*blocks = size >> PAGE_CACHE_SHIFT;
*blocks = DIV_ROUND_UP(size, PAGE_CACHE_SIZE);
} else if (!strcmp(this_char,"nr_blocks")) {
*blocks = memparse(value,&rest);
if (*rest)
Expand Down

0 comments on commit dcf7604

Please sign in to comment.