Re: [PATCH] blockdev: fixes race between mount/umount

2005-03-05 Thread Christoph Hellwig
On Fri, Mar 04, 2005 at 03:04:45PM -0500, Jeffrey Mahoney wrote: > This patch fixes a race between mount and umount in set_blocksize. The results > can vary between buffer errors and infinite loops in __getblk_slow, and > possibly others. > > The patch makes set_blocksize run under the bdev_lock

Re: [PATCH] blockdev: fixes race between mount/umount

2005-03-05 Thread Christoph Hellwig
On Fri, Mar 04, 2005 at 03:04:45PM -0500, Jeffrey Mahoney wrote: This patch fixes a race between mount and umount in set_blocksize. The results can vary between buffer errors and infinite loops in __getblk_slow, and possibly others. The patch makes set_blocksize run under the bdev_lock if it

[PATCH] blockdev: fixes race between mount/umount

2005-03-04 Thread Jeffrey Mahoney
This patch fixes a race between mount and umount in set_blocksize. The results can vary between buffer errors and infinite loops in __getblk_slow, and possibly others. The patch makes set_blocksize run under the bdev_lock if it is the sole holder of the block device. Changes: - Added missing

[PATCH] blockdev: fixes race between mount/umount

2005-03-04 Thread Jeffrey Mahoney
This patch fixes a race between mount and umount in set_blocksize. The results can vary between buffer errors and infinite loops in __getblk_slow, and possibly others. The patch makes set_blocksize run under the bdev_lock if it is the sole holder of the block device. Changes: - Added missing