Current daemonize() function of cleanerd has a problem. It cannot ensure that the caller (cleanerd) doesn't become a session leader. This patchset solves the above problem. In addition, the -n option of cleanerd is removed because it is obsolete. The description of the option in a man page is also removed. Hitoshi Mitake (4): cleanerd: ignore nofork option cleanerd: call _exit(2) twice for ensuring not being a session leader mount: don't pass -n option to cleanerd man: remove a description of -n option lib/cleaner_exec.c | 4 +--- man/nilfs_cleanerd.8 | 4 ---- sbin/cleanerd/cleanerd.c | 36 ++++++++++++++++++++---------------- 3 files changed, 21 insertions(+), 23 deletions(-) -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html