]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: export fs_close()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 7 Oct 2019 05:59:35 +0000 (14:59 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 17 Oct 2019 17:19:55 +0000 (19:19 +0200)
commit64f49eb7d0697b73fa271a69832069e591c07acc
tree44b0147f448f3a66d60309d11c7cf71f8c2d567f
parent08c51fff30cca0e834a4819a9d9bb684a919fa7e
fs: export fs_close()

fs_close() closes the connection to a file system which opened with
either fs_set_blk_dev() or fs_set_dev_with_part(). Many file system
functions implicitly call fs_close(), e.g. fs_closedir(), fs_exist(),
fs_ln(), fs_ls(), fs_mkdir(), fs_read(), fs_size(), fs_write()
and fs_unlink().
So just export it.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/fs.c
include/fs.h