super.h 578 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /* MTD-based superblock handling
  3. *
  4. * Copyright © 2006 Red Hat, Inc. All Rights Reserved.
  5. * Written by David Howells ([email protected])
  6. */
  7. #ifndef __MTD_SUPER_H__
  8. #define __MTD_SUPER_H__
  9. #ifdef __KERNEL__
  10. #include <linux/mtd/mtd.h>
  11. #include <linux/fs.h>
  12. #include <linux/mount.h>
  13. extern int get_tree_mtd(struct fs_context *fc,
  14. int (*fill_super)(struct super_block *sb,
  15. struct fs_context *fc));
  16. extern void kill_mtd_super(struct super_block *sb);
  17. #endif /* __KERNEL__ */
  18. #endif /* __MTD_SUPER_H__ */