From: Hugh Dickins Date: Thu, 14 Apr 2011 22:22:07 +0000 (-0700) Subject: tmpfs: fix off-by-one in max_blocks checks X-Git-Tag: v2.6.39-rc4~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc5da22ae35d4720be59af8787a8a6d5e4da9517;p=pandora-kernel.git 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 Cc: Tim Chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed