Displaying 2 results from an estimated 2 matches for "dquot_free_block".
2001 Oct 12
3
ext3 mounted fs still needs fscking after crash
Hi there,
I'm new to ext3, so I hope you won't find my question to be stupid. I also
hope this isn't the 1,000,000th time someone posts it.
My problem is the following: I converted my ext2 systems to ext3 using
tune2fs -j /dev/sda2 (or 5 for my /home, 2 is my root)
Then I modified fstab and put ext3 for each. After a reboot, the mount
command says they are mounted as ext3.
But when I
2002 Apr 02
0
[patch] fix ext3 i_blocks accounting
...BUFFER_TRACE(bh, "setting bitmap bit");
ext3_set_bit(j, bh->b_data);
+ performed_allocation = 1;
#ifdef CONFIG_JBD_DEBUG
{
@@ -815,6 +816,11 @@ out:
ext3_std_error(sb, fatal);
}
unlock_super (sb);
+ /*
+ * Undo the block allocation
+ */
+ if (!performed_allocation)
+ DQUOT_FREE_BLOCK(inode, 1);
return 0;
}
-