提交 413d63d7 编写于 作者: J J. Bruce Fields

nfsd: minor write_pool_threads exit cleanup

Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
上级 2522a776
......@@ -784,11 +784,7 @@ static ssize_t write_pool_threads(struct file *file, char *buf, size_t size)
size -= len;
mesg += len;
}
kfree(nthreads);
mutex_unlock(&nfsd_mutex);
return (mesg-buf);
rv = mesg - buf;
out_free:
kfree(nthreads);
mutex_unlock(&nfsd_mutex);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册