mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
fs/nxffs/nxffs_ioctl.c: Pass unrecognized IOCTL commands to the contained MTD driver.
This commit is contained in:
committed by
Gregory Nutt
parent
e34e9fd782
commit
60575d3436
@@ -122,9 +122,9 @@ int nxffs_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* No other commands supported */
|
/* Command not recognized, forward to the MTD driver */
|
||||||
|
|
||||||
ret = -ENOTTY;
|
ret = MTD_IOCTL(volume->mtd, cmd, arg);
|
||||||
}
|
}
|
||||||
|
|
||||||
errout_with_semaphore:
|
errout_with_semaphore:
|
||||||
|
|||||||
Reference in New Issue
Block a user