diff options
| author | Jeff Layton <[email protected]> | 2014-07-25 07:34:25 -0400 |
|---|---|---|
| committer | J. Bruce Fields <[email protected]> | 2014-07-29 14:49:56 -0400 |
| commit | 0b26693c56cc4beae2f913e737b15c12bc2b5b97 (patch) | |
| tree | bcaa584ee0e1b9c88d7e6bd04f24547c1668cc99 /tools/perf/scripts/python | |
| parent | 4cf59221c7cb46ce40e17bcfeddb64d759071440 (diff) | |
nfsd: clean up nfs4_set_delegation
Move the alloc_init_deleg call into nfs4_set_delegation and change the
function to return a pointer to the delegation or an IS_ERR return. This
allows us to skip allocating a delegation if the file has already
experienced a lease conflict.
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