[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1421700498-15179-1-git-send-email-fabf@skynet.be>
Date: Mon, 19 Jan 2015 21:48:18 +0100
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: Jan Kara <jack@...e.cz>, Alexander Viro <viro@...iv.linux.org.uk>,
Fabian Frederick <fabf@...net.be>
Subject: [RFC 2/2] fs/affs/super.c: let vfs do mount_bdev
share fill_super with vfs and remove local mount function.
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/affs/super.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/fs/affs/super.c b/fs/affs/super.c
index ee8eca7..9f7bba9 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -588,12 +588,6 @@ affs_statfs(struct dentry *dentry, struct kstatfs *buf)
return 0;
}
-static struct dentry *affs_mount(struct file_system_type *fs_type,
- int flags, const char *dev_name, void *data)
-{
- return mount_bdev(fs_type, flags, dev_name, data, affs_fill_super);
-}
-
static void affs_kill_sb(struct super_block *sb)
{
struct affs_sb_info *sbi = AFFS_SB(sb);
@@ -610,7 +604,7 @@ static void affs_kill_sb(struct super_block *sb)
static struct file_system_type affs_fs_type = {
.owner = THIS_MODULE,
.name = "affs",
- .mount = affs_mount,
+ .fill_super = affs_fill_super,
.kill_sb = affs_kill_sb,
.fs_flags = FS_REQUIRES_DEV,
};
--
1.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists