summaryrefslogtreecommitdiff
path: root/include/fs.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2018-06-01 09:52:15 -0400
committerTom Rini <[email protected]>2018-06-01 09:52:15 -0400
commitcaa2a2e5ab44d87faf51fafc780ecc985e0c05d6 (patch)
treeda4f3cba6cdfbeae5f723a9ebf00bd29c8ae31bb /include/fs.h
parentc90c43cda8c376f949266f920bbb49119aef0b00 (diff)
parent277b1333b780acd8ddb761c9160c06ffdf1c3901 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'include/fs.h')
-rw-r--r--include/fs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h
index d703ed5027e..163da103b47 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -37,6 +37,16 @@ int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype);
*/
int fs_set_blk_dev_with_part(struct blk_desc *desc, int part);
+/**
+ * fs_get_type_name() - Get type of current filesystem
+ *
+ * Return: Pointer to filesystem name
+ *
+ * Returns a string describing the current filesystem, or the sentinel
+ * "unsupported" for any unrecognised filesystem.
+ */
+const char *fs_get_type_name(void);
+
/*
* Print the list of files on the partition previously set by fs_set_blk_dev(),
* in directory "dirname".