Messages in this thread | | | Date | Sun, 6 Mar 2005 00:05:28 +0000 | From | Christoph Hellwig <> | Subject | Re: [PATCH] blockdev: fixes race between mount/umount |
| |
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 is the sole holder > of the block device. > > Changes: > - Added missing sync_blockdev in kill_block_super, lost in the shuffle.
Please follow proper kernel codingstyle, thanks.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |