diff options
| author | Dave Wysochanski <[email protected]> | 2020-04-15 20:14:42 +0000 |
|---|---|---|
| committer | David Howells <[email protected]> | 2020-05-08 21:20:24 +0000 |
| commit | 15751612734ca0c419ac43ce986c9badcb5e2829 (patch) | |
| tree | 49eef1e396be2573d3a075275d393d3f6deecb12 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | NFS: Fix fscache super_cookie index_key from changing after umount (diff) | |
| download | kernel-15751612734ca0c419ac43ce986c9badcb5e2829.tar.gz kernel-15751612734ca0c419ac43ce986c9badcb5e2829.zip | |
NFS: Fix fscache super_cookie allocation
Commit f2aedb713c28 ("NFS: Add fs_context support.") reworked
NFS mount code paths for fs_context support which included
super_block initialization. In the process there was an extra
return left in the code and so we never call
nfs_fscache_get_super_cookie even if 'fsc' is given on as mount
option. In addition, there is an extra check inside
nfs_fscache_get_super_cookie for the NFS_OPTION_FSCACHE which
is unnecessary since the only caller nfs_get_cache_cookie
checks this flag.
Fixes: f2aedb713c28 ("NFS: Add fs_context support.")
Signed-off-by: Dave Wysochanski <[email protected]>
Signed-off-by: David Howells <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
