diff options
author | Hugh Dickins <[email protected]> | 2011-04-14 15:22:07 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-04-14 16:06:55 -0700 |
commit | fc5da22ae35d4720be59af8787a8a6d5e4da9517 (patch) | |
tree | a072d2d1387d19ea5403ab8adaf7c092c1cf6485 /lib/memory-notifier-error-inject.c | |
parent | d00ebeac5f24f290636f7a895dafc124b2930a08 (diff) |
tmpfs: fix off-by-one in max_blocks checks
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 <[email protected]>
Cc: Tim Chen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions