]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/logfs/logfs.h
logfs get_sb, part 3
[net-next-2.6.git] / fs / logfs / logfs.h
index bdd56fa4b0847a24758e12b3ca6c905cc1a0d1d5..5d2e66b4829001d2a352615e3f06d272a384f401 100644 (file)
@@ -472,29 +472,23 @@ void logfs_compr_exit(void);
 /* dev_bdev.c */
 #ifdef CONFIG_BLOCK
 int logfs_get_sb_bdev(struct logfs_super *s,
-               struct file_system_type *type, int flags,
-               const char *devname, struct vfsmount *mnt);
+               struct file_system_type *type,
+               const char *devname);
 #else
 static inline int logfs_get_sb_bdev(struct logfs_super *s,
-               struct file_system_type *type, int flags,
-               const char *devname, struct vfsmount *mnt)
+               struct file_system_type *type,
+               const char *devname)
 {
-       kfree(s);
        return -ENODEV;
 }
 #endif
 
 /* dev_mtd.c */
 #ifdef CONFIG_MTD
-int logfs_get_sb_mtd(struct logfs_super *s,
-               struct file_system_type *type, int flags,
-               int mtdnr, struct vfsmount *mnt);
+int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr)
 #else
-static inline int logfs_get_sb_mtd(struct logfs_super *s,
-               struct file_system_type *type, int flags,
-               int mtdnr, struct vfsmount *mnt)
+static inline int logfs_get_sb_mtd(struct logfs_super *s, int mtdnr)
 {
-       kfree(s);
        return -ENODEV;
 }
 #endif