Messages in this thread | | | Date | Fri, 18 Jun 2004 16:43:30 +0100 | From | viro@parcelfa ... | Subject | Re: [PATCH RFC] __bd_forget should wait for inodes using the mapping |
| |
On Fri, Jun 18, 2004 at 11:41:43AM -0400, Chris Mason wrote: > > And yes, ->i_mapping flips on "normal" bdev inodes will go away - we set > > ->f_mapping on open directly. > > Fair enough, I'll cook up some code to bump the inode->bdev->bd_inode > i_count in __sync_single_inode It won't be pretty either though, I'll > have to drop the inode_lock so that some function can take the bdev_lock > to safely use inode->i_bdev.
*Ugh*
You do realize that ->i_bdev is not promised to be there either? Could you show the actual code that steps into this mess? - 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/
| |