Files
linux/fs/nfs
Trond Myklebust 41d4cc6b58 NFS: finish_automount() requires us to hold 2 refs to the mount record
[ Upstream commit 75da98586a ]

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: 22a1ae9a93 ("NFS: If nfs_mountpoint_expiry_timeout < 0, do not expire submounts")
Cc: stable@vger.kernel.org # v5.5+
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-17 16:12:19 +02:00
..
2019-02-20 15:14:21 -05:00
2020-02-14 16:52:58 -05:00
2019-11-03 21:28:44 -05:00
2015-04-23 15:16:14 -04:00
2020-02-14 16:52:59 -05:00
2020-02-24 08:38:16 +01:00
2020-02-24 08:38:50 +01:00
2019-10-09 12:05:49 -04:00
2019-08-27 10:24:56 -04:00
2019-08-26 15:31:29 -04:00
2019-11-18 10:37:58 +01:00