/* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <[email protected]> * * Created by David Woodhouse <[email protected]> * * For licensing information, see the file 'LICENCE' in this directory. * */ #ifndef _JFFS2_FS_SB #define _JFFS2_FS_SB #include <linux/types.h> #include <linux/spinlock.h> #include <linux/workqueue.h> #include <linux/completion.h> #include <linux/mutex.h> #include <linux/timer.h> #include <linux/wait.h> #include <linux/list.h> #include <linux/rwsem.h> #define JFFS2_SB_FLAG_RO … #define JFFS2_SB_FLAG_SCANNING … #define JFFS2_SB_FLAG_BUILDING … struct jffs2_inodirty; struct jffs2_mount_opts { … }; /* A struct for the overall file system control. Pointers to jffs2_sb_info structs are named `c' in the source code. Nee jffs_control */ struct jffs2_sb_info { … }; #endif /* _JFFS2_FS_SB */