]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfsd4: fix connection allocation in sequence()
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Oct 2010 21:17:31 +0000 (17:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 25 Oct 2010 01:07:07 +0000 (21:07 -0400)
commita663bdd8c5d18d287f7468470816c9e0e66343c1
tree9949b3b2b678c1da67e97ee2c312b1a17b98e4c8
parent5d18c1c2a9a74e0f966c257520b8b7f5136c87b3
nfsd4: fix connection allocation in sequence()

We're doing an allocation under a spinlock, and ignoring the
possibility of allocation failure.

A better fix wouldn't require an unnecessary allocation in the common
case, but we'll leave that for later.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c