lib/cmdline.c: add size unit t/p/e to memparse
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Wed, 6 Aug 2014 23:09:29 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:25 +0000 (18:01 -0700)
commite004f3c7780de32fa822f292ebadd985bcadb1e0
tree6e555319c67560cfcec912d6f067bdead3fabaf8
parent428ac5fc056e06dc0b4ed82d5979add9a8c62b35
lib/cmdline.c: add size unit t/p/e to memparse

For modern filesystems such as btrfs, t/p/e size level operations are
common.  add size unit t/p/e parsing to memparse

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Reviewed-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/cmdline.c