Whamcloud - gitweb
LU-15141 quota: optimize capability check for root squash 22/45322/1
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 21 Oct 2021 06:56:44 +0000 (08:56 +0200)
committerSebastien Buisson <sbuisson@ddn.com>
Thu, 21 Oct 2021 07:36:47 +0000 (09:36 +0200)
commit15aa2e9264f0604b185ce280df4b34ea5a280b3f
treee4c4d184be4a3892857695cf6f0a1fe61b6ba438
parent6a08df2d0effc7aa9d2a4428ff38c3b5df73d118
LU-15141 quota: optimize capability check for root squash

On client side, checking for owner/group quota can be directly
bypassed if this is for root and there is no root squash.

Change-Id: If29eca428d8748df412a717615e4d0a4886ddd04
Fixes: a4fbe7341b ("LU-14739 quota: nodemap squashed root cannot bypass quota")
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
lustre/osc/osc_cache.c