]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/506: call _require_quota before _qmount
authorZorro Lang <zlang@kernel.org>
Sun, 29 May 2022 09:03:36 +0000 (17:03 +0800)
committerZorro Lang <zlang@kernel.org>
Fri, 3 Jun 2022 05:05:03 +0000 (13:05 +0800)
commit78af5961e41e905779035a765280c7193cad150e
treea3e3e3a47d9cb59a148088b49eefdde95b1fb1f0
parent10d2fe7908a3192d7dfc0254f3b02c9dc48d737c
generic/506: call _require_quota before _qmount

The g/506 fails on some filesystems (e.g. overlay) which doesn't
support prjquota:

  MOUNT_OPTIONS =  -o prjquota
  qmount failed

To avoid this failure, call _require_quota before doing real quota
mount.

Signed-off-by: Zorro Lang <zlang@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
tests/generic/506