Whamcloud - gitweb
LU-14927 quota: move qsd_transfer to lquota module 35/44735/7
authorJames Simmons <jsimmons@infradead.org>
Mon, 11 Oct 2021 15:10:04 +0000 (11:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Oct 2021 00:37:23 +0000 (00:37 +0000)
commitd2e8208e22f21bb7354a9207f381217c222d3df3
treedf8556241023b6c433187ff30e17fa9906260111
parent436cd4fd21ffee5830c9b4e75055db80c47547d5
LU-14927 quota: move qsd_transfer to lquota module

With osd-zfs inheriting the tainted state of ZFS we can no longer
directly use kernel internals that exported GPL only. The osd-zfs
modules quota code uses some of these internal functions. The
osd-zfs qsd_transfer() function is generic enough that we can
move it to the lquota modules.

Change-Id: I735db0266306477cd5558968f1f3ed1f6e1b32da
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/44735
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_quota.h
lustre/osd-zfs/osd_object.c
lustre/quota/qsd_handler.c