Skip to content
Commit 213b067c authored by Eric W. Biederman's avatar Eric W. Biederman
Browse files

nsfs: Simplify __ns_get_path



Move mntget from the very beginning of __ns_get_path to
the success path of __ns_get_path, and remove the mntget
calls.

This removes the possibility that there will be a mntget/mntput
pair of __ns_get_path has to retry, and generally simplifies the code.

Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
parent 78725596
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment