Lines Matching refs:fc
71 static int afs_mntpt_set_params(struct fs_context *fc, struct dentry *mntpt) in afs_mntpt_set_params() argument
73 struct afs_fs_context *ctx = fc->fs_private; in afs_mntpt_set_params()
80 if (fc->net_ns != src_as->net_ns) { in afs_mntpt_set_params()
81 put_net(fc->net_ns); in afs_mntpt_set_params()
82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
141 ret = vfs_parse_fs_qstr(fc, "source", in afs_mntpt_set_params()
161 struct fs_context *fc; in afs_mntpt_do_automount() local
167 fc = fs_context_for_submount(&afs_fs_type, mntpt); in afs_mntpt_do_automount()
168 if (IS_ERR(fc)) in afs_mntpt_do_automount()
169 return ERR_CAST(fc); in afs_mntpt_do_automount()
171 ret = afs_mntpt_set_params(fc, mntpt); in afs_mntpt_do_automount()
173 mnt = fc_mount(fc); in afs_mntpt_do_automount()
177 put_fs_context(fc); in afs_mntpt_do_automount()