Whamcloud - gitweb
LU-14696 llite: check read only mount for setquota
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 9 Mar 2022 19:06:19 +0000 (11:06 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 31 Mar 2022 04:19:35 +0000 (04:19 +0000)
commitf311ce214a55d1899f612c4ef87a126ddef467b3
tree218a77cda2687a6f21eba6b7199f15422cfa3890
parentd6ca3398c138a2dbf7fe27fa48385c8461a443ea
LU-14696 llite: check read only mount for setquota

During setting quota, it should fail if the mount is read-only.

Lustre-change: https://review.whamcloud.com/43765
Lustre-commit: 29e00cecc6019fbdb5bd98511970970ac5ef5318

Change-Id: I966ac71d0a4a72dcb998f09ffc0f99ae28498e27
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46766
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/tests/sanity-quota.sh
lustre/utils/lfs.c