X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fquota_check.c;h=599ea4c0982df37f47b657ea9a19129b3d362bc4;hb=adb6cea0b70ac465b2a47635d9dc45d64ab1605b;hp=413934a5cff02e29e177eff01d3a4bb561dbf800;hpb=78bd42984ee3293e79cd9fcce2ca142b6d11b08a;p=fs%2Flustre-release.git diff --git a/lustre/quota/quota_check.c b/lustre/quota/quota_check.c index 413934a..599ea4c 100644 --- a/lustre/quota/quota_check.c +++ b/lustre/quota/quota_check.c @@ -174,8 +174,8 @@ int target_quota_check(struct obd_device *obd, struct obd_export *exp, /* we get ref for exp because target_quotacheck_callback() will use this * export later b=18126 */ class_export_get(exp); - rc = cfs_kernel_thread(target_quotacheck_thread, qta, - CLONE_VM|CLONE_FILES); + rc = cfs_create_thread(target_quotacheck_thread, qta, + CFS_DAEMON_FLAGS); if (rc >= 0) { /* target_quotacheck_thread will drop the ref on exp and release * obt_quotachecking */