summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorSimon Kagstrom <simon.kagstrom@netinsight.net>2009-11-03 08:08:41 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-11-30 12:02:02 +0000
commit1114e3d00f539ecb7a8415663f2a47a80e00a537 (patch)
tree34f384aa267d9e31eee029bf9061cf148907ea7d /mm/migrate.c
parentbe95745f01677245a061a8f51473ef5ec8ad008e (diff)
downloadop-kernel-dev-1114e3d00f539ecb7a8415663f2a47a80e00a537.zip
op-kernel-dev-1114e3d00f539ecb7a8415663f2a47a80e00a537.tar.gz
mtd: mtdoops: limit the maximum mtd partition size
Make the maximum mtdoops partition size to be 8MiB. Indeed, it does not make sense to use anything larger than that anyway. This limit makes it possible to catch stupid mistakes where the user gives e.g., a rootfs partition to mtdoops (which will happily erase it). Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud