Re: [PATCH 2/3] xfstests: Rename _test_inject_logprint to _test_remount_dump_log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/9/21 10:41 AM, Catherine Hoang wrote:
Rename _test_inject_logprint to _test_remount_dump_log to better
describe what this function does. _test_remount_dump_log unmounts
and remounts the test device, dumping the log.

Signed-off-by: Catherine Hoang <catherine.hoang@xxxxxxxxxx>

I notice this function has no callers, but I think it's a good utility function to keep around. I think it looks ok.

Reviewed-by: Allison Henderson <allison.henderson@xxxxxxxxxx>

---
  common/inject | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/inject b/common/inject
index 3b731df7..b5334d4a 100644
--- a/common/inject
+++ b/common/inject
@@ -126,7 +126,7 @@ _scratch_remount_dump_log()
  }
# Unmount and remount the test device, dumping the log
-_test_inject_logprint()
+_test_remount_dump_log()
  {
  	local opts="$1"



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux