On Wed, 2 Mar 2011 18:12:31 +0100, dexen deVries wrote:
> Hi,
> 
> 
> when testing my other patches, the following came up:
> 
> with absolute pathname:
> # mount /dev/sdb2 /mnt/x
> # ps ax | grep [n]ilfs_cleanerd
> 30408 ?        Ss     0:00 /sbin/nilfs_cleanerd -n /dev/sdb2 /mnt/x
> 
> 
> with relative mountpoint pathname:
> # umount /mnt/x
> # cd /mnt
> # mount /dev/sdb2 x
> # ps ax | grep [n]ilfs_cleanerd
> ((no such process))
> 
> with relative device pathname:
> # umount /mnt/x
> # cd /dev
> # mount sdb2 /mnt/x
> # ps ax | grep [n]ilfs_cleanerd
> ((no such process))
> 
> This is due to chdir(ROOTDIR) in daemonize(); currently daemonize is always 
> called with nochdir == 0. Should I hardcode it to nochdir == 1 or 
> canonicalize 
> the `dev' and `dir' arguments with myrealpath()?

It sounds like cleanerd needs a fix.
I'll take a look and answer to you tomorrow.

Thanks,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to