fs: Move ls and read methods into ext4, fat
authorSimon Glass <sjg@chromium.org>
Wed, 26 Dec 2012 09:53:33 +0000 (09:53 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Mar 2013 19:19:56 +0000 (14:19 -0500)
commite6d5241534486effa116bf685f7707041492ec7b
treedc41035f0255983ce66fffb147ffc69a6aaeaae4
parent117e050727d1f76bfc465f23eb3aa10f9f15cc1b
fs: Move ls and read methods into ext4, fat

It doesn't make a lot of sense to have these methods in fs.c. They are
filesystem-specific, not generic code. Add each to the relevant
filesystem and remove the associated #ifdefs in fs.c.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
fs/ext4/ext4fs.c
fs/fat/fat.c
fs/fs.c
include/ext4fs.h
include/fat.h