fs: add to support block proxy
authorHeesub Shin <heesub.shin@samsung.com>
Thu, 4 May 2017 13:06:42 +0000 (22:06 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Sat, 6 May 2017 14:00:43 +0000 (23:00 +0900)
commit30c5c591fc13892ec732d4426b6a38b9515f9326
tree62a18b74052cbee9b57c5b0f0fc94a9c4fd98990
parent9200a15a6f98c76d9a75a036af7e5a9396b4fd39
fs: add to support block proxy

open() has been extended. You can now open block drivers and access them
just as you can character drivers. For example, you can hexdump a block
device.

Change-Id: I70db3eb0e452fcb04ed9fde1a5b4a53f4f5a0898
Signed-off-by: Gregory Nutt <gnutt@nuttx.org>
[Shin: backported 84a5f826c from NuttX]
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/fs/driver/Make.defs
os/fs/driver/block/driver.h
os/fs/driver/block/fs_blockproxy.c [new file with mode: 0644]
os/fs/vfs/fs_open.c