You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
mtd: introduce mtd_lock interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
committed by
David Woodhouse
parent
85f2f2a809
commit
7799f9ac8d
@@ -824,7 +824,7 @@ static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg)
|
||||
if (!mtd->lock)
|
||||
ret = -EOPNOTSUPP;
|
||||
else
|
||||
ret = mtd->lock(mtd, einfo.start, einfo.length);
|
||||
ret = mtd_lock(mtd, einfo.start, einfo.length);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user