Lines Matching refs:nfs_mod
1236 struct nfs_subversion *nfs_mod;
1308 if (!ctx->nfs_mod) {
1309 nfs_mod = get_nfs_version(ctx->version);
1310 if (IS_ERR(nfs_mod)) {
1311 ret = PTR_ERR(nfs_mod);
1314 ctx->nfs_mod = nfs_mod;
1318 if (fc->fs_type != ctx->nfs_mod->nfs_fs) {
1320 __module_get(ctx->nfs_mod->nfs_fs->owner);
1321 fc->fs_type = ctx->nfs_mod->nfs_fs;
1359 return ctx->nfs_mod->rpc_ops->try_get_tree(fc);
1385 __module_get(ctx->nfs_mod->owner);
1403 if (ctx->nfs_mod)
1404 put_nfs_version(ctx->nfs_mod);
1476 ctx->nfs_mod = nfss->nfs_client->cl_nfs_mod;
1477 __module_get(ctx->nfs_mod->owner);