Looback bugfix
Hello,
I'm sending you a patch which should fix bug in loopback device - it
allows you to setup loopback /dev/loop0 -> /dev/loop0 with very unpleasant (hard deadlock) results. The patch is against 2.4.16 but should apply well against 2.5.0 too. Could oth of you apply the patch please?
Bye
Honza
--
Jan Kara <[email protected]>
SuSE CR Labs
------- <cut> ---------
drivers/block/loop.c +4 -0
@@ -640,6 +640,10 @@if (S_ISBLK (inode->i_mode)) { lo_device = inode->i_rdev; +if (lo_device == dev) { + error = -EBUSY ; + goto out; + } }else if (S_ISREG (inode->i_mode)) {struct address_space_operations *aops = inode->i_mapping->a_ops;/*