diff options
author | Richard Weinberger <richard@nod.at> | 2012-01-13 15:07:40 +0100 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com> | 2012-01-15 15:06:08 +0200 |
commit | 4a59c797a18917a5cf3ff7ade296b46134d91e6a (patch) | |
tree | 5f6f45af1f25eb25f99ac110f27084bd29cfb260 /drivers/mtd/nftlmount.c | |
parent | e234b5f2079414b3d772286e3ee00e7bbf6da833 (diff) |
UBI: fix nameless volumes handling
Currently it's possible to create a volume without a name. E.g:
ubimkvol -n 32 -s 2MiB -t static /dev/ubi0 -N ""
After that vtbl_check() will always fail because it does not permit
empty strings.
Cc: stable@kernel.org
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/nftlmount.c')
0 files changed, 0 insertions, 0 deletions