diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2016-09-22 19:39:20 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2016-09-22 20:06:20 -0500 |
commit | 213b067ce314f9d7e72307c7036ba3cd285b80da (patch) | |
tree | f3922b5859e6c09f064702e9fc4c40f79911e497 /net | |
parent | 78725596644be0181c46f55c52aadfb8c70bcdb7 (diff) | |
download | lwn-213b067ce314f9d7e72307c7036ba3cd285b80da.tar.gz lwn-213b067ce314f9d7e72307c7036ba3cd285b80da.zip |
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: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions