diff options
author | 2016-04-21 20:51:58 -0400 | |
---|---|---|
committer | 2016-05-09 09:05:40 -0400 | |
commit | 57f3f4c0cd50e90aa92eec20d9c309dd67c594a5 (patch) | |
tree | 19652693dacecdead7fecf42dc3a1bb64051eca7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfs: don't call nfs4_ff_layout_prepare_ds from ff_layout_get_ds_cred (diff) | |
download | linux-dev-57f3f4c0cd50e90aa92eec20d9c309dd67c594a5.tar.xz linux-dev-57f3f4c0cd50e90aa92eec20d9c309dd67c594a5.zip |
nfs: have ff_layout_get_ds_cred take a reference to the cred
In later patches, we're going to want to allow the creds to be updated
when we get a new layout with updated creds. Have this function take
a reference to the cred that is later put once the call has been
dispatched.
Also, prepare for this change by ensuring we follow RCU rules when
getting a reference to the cred as well.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions