diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2016-04-21 20:51:58 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-05-09 09:05:40 -0400 |
commit | 57f3f4c0cd50e90aa92eec20d9c309dd67c594a5 (patch) | |
tree | 19652693dacecdead7fecf42dc3a1bb64051eca7 /fs/cifs | |
parent | 547a637630c61b9e1dae9abce2b44ce7076244af (diff) | |
download | linux-57f3f4c0cd50e90aa92eec20d9c309dd67c594a5.tar.gz linux-57f3f4c0cd50e90aa92eec20d9c309dd67c594a5.tar.bz2 linux-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 'fs/cifs')
0 files changed, 0 insertions, 0 deletions