Re: [PATCH] update sb->s_frozen when freezing read-only mounted device, too

2007-10-10 Thread Akinobu Mita
freeze_bdev() with read-only mounted device(*) does not change sb->s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. Because of this behavior, xfs_freeze can break read-only filesystem. Because xfs_thaw does nothing for the filesystem whose sb->s_frozen is SB_UNFROZEN. So frozen read-only XFS

Re: [PATCH] update sb-s_frozen when freezing read-only mounted device, too

2007-10-10 Thread Akinobu Mita
freeze_bdev() with read-only mounted device(*) does not change sb-s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. Because of this behavior, xfs_freeze can break read-only filesystem. Because xfs_thaw does nothing for the filesystem whose sb-s_frozen is SB_UNFROZEN. So frozen read-only XFS

Re: [PATCH] update sb->s_frozen when freezing read-only mounted device, too

2007-10-05 Thread Akinobu Mita
2007/10/5, Christoph Hellwig <[EMAIL PROTECTED]>: > On Sat, Sep 29, 2007 at 07:09:12PM +0900, Akinobu Mita wrote: > > freeze_bdev() with the device which is mounted as read only > > does not change sb->s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. > > > > Because of this behavior, xfs_freeze can

Re: [PATCH] update sb-s_frozen when freezing read-only mounted device, too

2007-10-05 Thread Akinobu Mita
2007/10/5, Christoph Hellwig [EMAIL PROTECTED]: On Sat, Sep 29, 2007 at 07:09:12PM +0900, Akinobu Mita wrote: freeze_bdev() with the device which is mounted as read only does not change sb-s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. Because of this behavior, xfs_freeze can break

Re: [PATCH] update sb->s_frozen when freezing read-only mounted device, too

2007-10-04 Thread Christoph Hellwig
On Sat, Sep 29, 2007 at 07:09:12PM +0900, Akinobu Mita wrote: > freeze_bdev() with the device which is mounted as read only > does not change sb->s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. > > Because of this behavior, xfs_freeze can break read-only XFS filesystem. > > Because xfs_thaw does

Re: [PATCH] update sb-s_frozen when freezing read-only mounted device, too

2007-10-04 Thread Christoph Hellwig
On Sat, Sep 29, 2007 at 07:09:12PM +0900, Akinobu Mita wrote: freeze_bdev() with the device which is mounted as read only does not change sb-s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. Because of this behavior, xfs_freeze can break read-only XFS filesystem. Because xfs_thaw does nothing

[PATCH] update sb->s_frozen when freezing read-only mounted device, too

2007-09-29 Thread Akinobu Mita
freeze_bdev() with the device which is mounted as read only does not change sb->s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. Because of this behavior, xfs_freeze can break read-only XFS filesystem. Because xfs_thaw does nothing for the filesystem whose sb->s_frozen is SB_UNFROZEN. So freezed

[PATCH] update sb-s_frozen when freezing read-only mounted device, too

2007-09-29 Thread Akinobu Mita
freeze_bdev() with the device which is mounted as read only does not change sb-s_frozen from SB_UNFROZEN to SB_FREEZE_TRANS. Because of this behavior, xfs_freeze can break read-only XFS filesystem. Because xfs_thaw does nothing for the filesystem whose sb-s_frozen is SB_UNFROZEN. So freezed