git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00ebea
)
tmpfs: fix off-by-one in max_blocks checks
author
Hugh Dickins
<hughd@google.com>
Thu, 14 Apr 2011 22:22:07 +0000
(15:22 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 14 Apr 2011 23:06:55 +0000
(16:06 -0700)
If you fill up a tmpfs, df was showing
tmpfs 460800 - - - /tmp
because of an off-by-one in the max_blocks checks. Fix it so df shows
tmpfs 460800 460800 0 100% /tmp
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found