diff options
| author | Trond Myklebust <[email protected]> | 2020-04-02 14:34:36 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2020-04-02 22:51:12 +0000 |
| commit | 75da98586af75eb80664714a67a9895bf0a5517e (patch) | |
| tree | ebc21354f2cb42468d73ed950efdc249415f4a36 /scripts/gcc-plugins/gcc-common.h | |
| parent | NFS: Fix a few constant_table array definitions (diff) | |
| download | kernel-75da98586af75eb80664714a67a9895bf0a5517e.tar.gz kernel-75da98586af75eb80664714a67a9895bf0a5517e.zip | |
NFS: finish_automount() requires us to hold 2 refs to the mount record
We must not return from nfs_d_automount() without holding 2 references
to the mount record. Doing so, will trigger the BUG() in finish_automount().
Also ensure that we don't try to reschedule the automount timer with
a negative or zero timeout value.
Fixes: 22a1ae9a93fb ("NFS: If nfs_mountpoint_expiry_timeout < 0, do not expire submounts")
Cc: [email protected] # v5.5+
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
