diff options
author | Richard Genoud <richard.genoud@gmail.com> | 2012-08-22 18:04:37 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-23 12:48:54 +0300 |
commit | 9d8751b3f5c6358b6167c38899f1e41498d24a45 (patch) | |
tree | db952e5015e6f33a2e93e3cf477227ea5d52dfc9 /mkfs.ubifs/lpt.c | |
parent | 878e06ea555ba5dbfb974b3904d1a86a9a0e20f5 (diff) |
ubiattach: fail if kernel ignores max_beb_per1024
If the kernel doesn't know the max_beb_per1024 parameter in the attach
ioctl, but the call still succeeded ubi_attach and ubi_attach_mtd will
return 1 instead of 0.
In this case, the ubiattach command will detach the device and fail with
an error message.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'mkfs.ubifs/lpt.c')
0 files changed, 0 insertions, 0 deletions