From 18ccf50b872ff1bc98f7679dd443b49d8caba1c7 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 22 Jul 2016 16:51:07 +0000 Subject: [PATCH] scst_pres: Save APTPL PR info on both nodes git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6914 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_dlm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scst/src/scst_dlm.c b/scst/src/scst_dlm.c index 9896532e9..65fe76c9f 100644 --- a/scst/src/scst_dlm.c +++ b/scst/src/scst_dlm.c @@ -356,6 +356,10 @@ static int scst_copy_from_dlm(struct scst_device *dev, dlm_lockspace_t *ls, if (reg->lksb.lksb.sb_lkid == 0) scst_pr_remove_registrant(dev, reg); +#ifndef CONFIG_SCST_PROC + scst_pr_sync_device_file(dev); +#endif + scst_pr_write_unlock(dev); res = 0;