Whamcloud - gitweb
EX-5260 pumount: use O_PATH for mount point
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 12 May 2022 20:50:10 +0000 (15:50 -0500)
committerJohn L. Hammond <jhammond@whamcloud.com>
Fri, 13 May 2022 21:57:11 +0000 (21:57 +0000)
commitcedae8170d6aadb76eed3bc9b2b411a3e012463e
tree24a1662eea392f27278aca37a736b66c16b10b90
parentab5d05414bf2005fdfa2d3e0b18acec4cadf4342
EX-5260 pumount: use O_PATH for mount point

In pumount, use O_PATH when opening the mount point to try to avoid
RPCs from permission or atomic_open.

Test-Parameters: trivial testlist=sanity-pumount clientextra_install_params="--packages pumount"
Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: Ibd66579d9b5ecef724334c01d90367af4bd93179
Reviewed-on: https://review.whamcloud.com/47323
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
pumount/pumount.c