On Mon, Apr 28, 2008 at 07:31:23PM +0900, Takashi Sato wrote:
The freezing process is already protected by bd_mount_sem, so I don't
think there's need for another one.
I think the protection against double freezes would be better done by
using a trylock on bd_mount_sem. In fact after that it could be changed
from a semaphore to a simple test_and_set_bit.
This would be better to split intot a small helper ala ioctl_fibmap()
Same here.
--