On Wed, Jan 05, 2011 at 11:26:05AM +0200, Amir Goldstein wrote: > > if (jinode) > // ei->jinode was allocated after first test - can it happen? > // if not, then 2nd test under spinlock is not needed > jbd2_free_inode(jinode); Good point; currently if there are two CPU's racing to open the file, we could end up with a memory leak. Thanks for pointing that out! - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html