mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-20 13:08:08 +07:00
nfsd: minor write_pool_threads exit cleanup
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
parent
2522a776c1
commit
413d63d710
@ -784,11 +784,7 @@ static ssize_t write_pool_threads(struct file *file, char *buf, size_t size)
|
|||||||
size -= len;
|
size -= len;
|
||||||
mesg += len;
|
mesg += len;
|
||||||
}
|
}
|
||||||
|
rv = mesg - buf;
|
||||||
kfree(nthreads);
|
|
||||||
mutex_unlock(&nfsd_mutex);
|
|
||||||
return (mesg-buf);
|
|
||||||
|
|
||||||
out_free:
|
out_free:
|
||||||
kfree(nthreads);
|
kfree(nthreads);
|
||||||
mutex_unlock(&nfsd_mutex);
|
mutex_unlock(&nfsd_mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user