[PATCH 4.19 006/213] nilfs2: fix potential hang in nilfs_detach_log_writer()