diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2016-04-22 03:51:58 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-05-09 16:05:40 +0300 |
commit | 57f3f4c0cd50e90aa92eec20d9c309dd67c594a5 (patch) | |
tree | 19652693dacecdead7fecf42dc3a1bb64051eca7 /fs/nfs/unlink.c | |
parent | 547a637630c61b9e1dae9abce2b44ce7076244af (diff) | |
download | linux-57f3f4c0cd50e90aa92eec20d9c309dd67c594a5.tar.xz |
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/nfs/unlink.c')
0 files changed, 0 insertions, 0 deletions