Unverified Commit c568fbca authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents fec67c41 14684af9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ struct rpc_clnt {
	struct dentry		*cl_debugfs;	/* debugfs directory */
#endif
	struct rpc_xprt_iter	cl_xpi;
	struct super_block *pipefs_sb;
};

/*
+4 −1
Original line number Diff line number Diff line
@@ -113,6 +113,7 @@ static void rpc_clnt_remove_pipedir(struct rpc_clnt *clnt)

	pipefs_sb = rpc_get_sb_net(net);
	if (pipefs_sb) {
		if (pipefs_sb == clnt->pipefs_sb)
			__rpc_clnt_remove_pipedir(clnt);
		rpc_put_sb_net(net);
	}
@@ -153,6 +154,8 @@ rpc_setup_pipedir(struct super_block *pipefs_sb, struct rpc_clnt *clnt)
{
	struct dentry *dentry;

	clnt->pipefs_sb = pipefs_sb;

	if (clnt->cl_program->pipe_dir_name != NULL) {
		dentry = rpc_setup_pipedir_sb(pipefs_sb, clnt);
		if (IS_ERR(dentry))