mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
blk/mtdoutstream: use lib_sostream_s to support seek
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
@@ -293,7 +293,7 @@ struct lib_lzfoutstream_s
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
struct lib_blkoutstream_s
|
||||
{
|
||||
struct lib_outstream_s common;
|
||||
struct lib_sostream_s common;
|
||||
FAR struct inode *inode;
|
||||
struct geometry geo;
|
||||
FAR unsigned char *cache;
|
||||
@@ -303,7 +303,7 @@ struct lib_blkoutstream_s
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_MTD)
|
||||
struct lib_mtdoutstream_s
|
||||
{
|
||||
struct lib_outstream_s common;
|
||||
struct lib_sostream_s common;
|
||||
FAR struct inode *inode;
|
||||
struct mtd_geometry_s geo;
|
||||
FAR unsigned char *cache;
|
||||
|
||||
Reference in New Issue
Block a user