aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/capifs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/capi/capifs.c')
-rw-r--r--drivers/isdn/capi/capifs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/capi/capifs.c b/drivers/isdn/capi/capifs.c
index 2b83850997c3..b4faed7fe0d3 100644
--- a/drivers/isdn/capi/capifs.c
+++ b/drivers/isdn/capi/capifs.c
@@ -125,16 +125,16 @@ fail:
125 return -ENOMEM; 125 return -ENOMEM;
126} 126}
127 127
128static int capifs_get_sb(struct file_system_type *fs_type, 128static struct dentry *capifs_mount(struct file_system_type *fs_type,
129 int flags, const char *dev_name, void *data, struct vfsmount *mnt) 129 int flags, const char *dev_name, void *data)
130{ 130{
131 return get_sb_single(fs_type, flags, data, capifs_fill_super, mnt); 131 return mount_single(fs_type, flags, data, capifs_fill_super);
132} 132}
133 133
134static struct file_system_type capifs_fs_type = { 134static struct file_system_type capifs_fs_type = {
135 .owner = THIS_MODULE, 135 .owner = THIS_MODULE,
136 .name = "capifs", 136 .name = "capifs",
137 .get_sb = capifs_get_sb, 137 .mount = capifs_mount,
138 .kill_sb = kill_anon_super, 138 .kill_sb = kill_anon_super,
139}; 139};
140 140