diff options
| author | Eric W. Biederman <[email protected]> | 2016-09-23 00:39:20 +0000 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2016-09-23 01:06:20 +0000 |
| commit | 213b067ce314f9d7e72307c7036ba3cd285b80da (patch) | |
| tree | f3922b5859e6c09f064702e9fc4c40f79911e497 /net/switchdev/switchdev.c | |
| parent | Merge branch 'nsfs-ioctls' into HEAD (diff) | |
| download | kernel-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
