[RFC] fs: move super_block and inode definitions to central fs.h header

Yegor Yefremov yegorslists at googlemail.com
Sun Jan 24 11:55:22 PST 2016


On Sun, Jan 24, 2016 at 8:24 PM, Yegor Yefremov
<yegorslists at googlemail.com> wrote:
> Both super_block and inode are common to various file systems, so
> move them to the central place.
>
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> ---
>  fs/ubifs/ubifs.h | 134 +------------------------------------------------------
>  include/fs.h     | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 135 insertions(+), 133 deletions(-)

I'm trying to port SquashFS to Barebox. SquashFS uses at least both
super_block structure as also inode structure. Does it make sense to
introduce include/linux/fs.h?

What to do with struct timespec? It is defined in uapi part. Should it
go to include/linux/barebox-wrapper.h?

Yegor



More information about the barebox mailing list