diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-10-17 17:14:48 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-10-17 23:50:07 +0200 |
commit | 996e09385c364f97a89648b401409521e2a3a094 (patch) | |
tree | ab1f76e385a3e66e070eb87e170288f99d6a1b64 /fs/nfsd/xdr4.h | |
parent | nfsd4: preallocate nfs4_file in process_open1() (diff) | |
download | linux-996e09385c364f97a89648b401409521e2a3a094.tar.xz linux-996e09385c364f97a89648b401409521e2a3a094.zip |
nfsd4: do idr preallocation with stateid allocation
Move idr preallocation out of stateid initialization, into stateid
allocation, so that we no longer have to handle any errors from the
former.
This is a little subtle due to the way the idr code manages these
preallocated items--document that in comments.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
0 files changed, 0 insertions, 0 deletions