summaryrefslogtreecommitdiff
path: root/fs/mount.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-09-22 19:39:20 -0500
committerEric W. Biederman <ebiederm@xmission.com>2016-09-22 20:06:20 -0500
commit213b067ce314f9d7e72307c7036ba3cd285b80da (patch)
treef3922b5859e6c09f064702e9fc4c40f79911e497 /fs/mount.h
parent78725596644be0181c46f55c52aadfb8c70bcdb7 (diff)
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 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions