diff options
author | 2014-07-10 14:07:27 -0400 | |
---|---|---|
committer | 2014-07-10 15:05:26 -0400 | |
commit | e20fcf1e6586ff1620adc345ad2a93d5ee5def59 (patch) | |
tree | b34b7459d45443731931c3f2e58580fe8b2b0521 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfsd: Add locking to the nfs4_file->fi_fds[] array (diff) | |
download | linux-dev-e20fcf1e6586ff1620adc345ad2a93d5ee5def59.tar.xz linux-dev-e20fcf1e6586ff1620adc345ad2a93d5ee5def59.zip |
nfsd: clean up helper __release_lock_stateid
Use filp_close instead of open coding. filp_close does a bit more than
just release the locks and put the filp. It also calls ->flush and
dnotify_flush, both of which should be done here anyway.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions