aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2016-09-23 00:39:20 +0000
committerEric W. Biederman <[email protected]>2016-09-23 01:06:20 +0000
commit213b067ce314f9d7e72307c7036ba3cd285b80da (patch)
treef3922b5859e6c09f064702e9fc4c40f79911e497 /net/switchdev/switchdev.c
parentMerge branch 'nsfs-ioctls' into HEAD (diff)
downloadkernel-213b067ce314f9d7e72307c7036ba3cd285b80da.tar.gz
kernel-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" <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions