diff options
| author | Trond Myklebust <[email protected]> | 2014-07-25 07:34:19 -0400 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2014-07-29 14:49:51 -0400 |
| commit | f83388341b825e03dafa38141ec113b43f9d61d0 (patch) | |
| tree | cc5804ace86ac1ea1d18a117d1e5c958e899c7d5 /tools/perf/scripts/python | |
| parent | f9c00c3ab425ef04ca5a3caa5e9a9f5e0272bb8a (diff) | |
nfsd: simplify stateid allocation and file handling
Don't allow stateids to clear the open file pointer until they are
being destroyed. In a later patches we'll want to rely on the fact that
we have a valid file pointer when dealing with the stateid and this
will save us from having to do a lot of NULL pointer checks before
doing so.
Also, move to allocating stateids with kzalloc and get rid of the
explicit zeroing of fields.
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions