mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
FS: Don't build block driver proxy if PSEUDOFS_OPERATIONS are disabled.
This commit is contained in:
+2
-1
@@ -140,7 +140,8 @@ int open(const char *path, int oflags, ...)
|
||||
inode = desc.node;
|
||||
DEBUGASSERT(inode != NULL);
|
||||
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT)
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && \
|
||||
!defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS)
|
||||
/* If the inode is block driver, then we may return a character driver
|
||||
* proxy for the block driver. block_proxy() will instantiate a BCH
|
||||
* character driver wrapper around the block driver, open(), then
|
||||
|
||||
Reference in New Issue
Block a user