Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 413d63d7 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd: minor write_pool_threads exit cleanup

parent 2522a776
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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);