diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-26 09:53:30 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-29 10:16:46 +0200 |
commit | 7d945a3aa7608f68dba04083d3421e0b43052660 (patch) | |
tree | 6d236bc977372f3c93cfde81e68ef46e55159eff /fs/logfs/logfs.h | |
parent | logfs get_sb, part 2 (diff) | |
download | linux-7d945a3aa7608f68dba04083d3421e0b43052660.tar.xz linux-7d945a3aa7608f68dba04083d3421e0b43052660.zip |
logfs get_sb, part 3
take logfs_get_sb_device() calls to logfs_get_sb() itself
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/logfs/logfs.h')
-rw-r--r-- | fs/logfs/logfs.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h index bdd56fa4b084..5d2e66b48290 100644 --- a/fs/logfs/logfs.h +++ b/fs/logfs/logfs.h @@ -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 |