diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-12-29 09:45:04 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 19:26:18 +0100 |
commit | e2936b2af5562c8c66060e2bc2ae2e209d0acd3d (patch) | |
tree | 99af09f8049f9fd76abca6d630ff333b169ab25f /fs/jffs2/writev.c | |
parent | mtd: mtd->write_user_prot_reg directly (diff) | |
download | linux-e2936b2af5562c8c66060e2bc2ae2e209d0acd3d.tar.xz linux-e2936b2af5562c8c66060e2bc2ae2e209d0acd3d.zip |
mtd: do not use mtd->lock_user_prot_reg directly
Instead, check the -EOPNOTSUPP return code of 'mtd_lock_user_prot_reg()'.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2/writev.c')
0 files changed, 0 insertions, 0 deletions