[X][B][D][E][SRU][PATCH 0/1] Fix for quotactl07 test in LTP

Po-Hsu Lin po-hsu.lin at canonical.com
Fri Feb 21 07:19:03 UTC 2020


== SRU Justification ==
This quotactl07 is a new test case added in LTP test suite,

The test will fail with:
  <<<test_output>>>
  incrementing stop
  tst_kconfig.c:62: INFO: Parsing kernel config '/boot/config-5.0.0-38-generic'
  tst_device.c:244: INFO: Using test device LTP_DEV='/dev/loop4'
  tst_mkfs.c:90: INFO: Formatting /dev/loop4 with xfs opts='' extra opts=''
  tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
  quotactl07.c:34: FAIL: Q_XQUOTARM doesn't have quota type check

  HINT: You _MAY_ be missing kernel fixes, see:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3dd4d40b4208

== Fix ==
* 3dd4d40b (xfs: Sanity check flags of Q_XQUOTARM call)

Focal got this patch from stable update. This patch can be cherry-picked
into all the other kernels.

== Test ==
Test kernels could be found here:
  https://people.canonical.com/~phlin/kernel/lp-1864092-quotactl07/

All patched kernels are working as expected,

== Regression Potential ==
Low, changes limited to quota on XFS,
and it's just adding a check for the flags.


Jan Kara (1):
  xfs: Sanity check flags of Q_XQUOTARM call

 fs/xfs/xfs_quotaops.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.7.4




More information about the kernel-team mailing list