Whamcloud - gitweb
LU-14696 llite: check read only mount for setquota 23/44923/3
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 15 Sep 2021 11:44:23 +0000 (19:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Oct 2021 17:16:30 +0000 (17:16 +0000)
commit2422773e37f6cc2b98408e44f95d1f928b546854
tree6f54eb3e0f0c3d7216d554a84c5a5a318438a3b6
parentf2e4915ab9e62d82526c7c65231f5dae9edd2ae9
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-on: https://review.whamcloud.com/44923
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/dir.c
lustre/tests/sanity-quota.sh