lkml.org 
[lkml]   [2015]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 2/2] fs/affs/super.c: let vfs do mount_bdev
Date
share fill_super with vfs and remove local mount function.

Signed-off-by: Fabian Frederick <fabf@skynet.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


\
 
 \ /
  Last update: 2015-01-19 22:01    [W:0.035 / U:5.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site