X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fext3%2Fialloc.c;h=4ab72db3559e72c5a959b9777cab365a6ce18c87;hb=b680f0979ff571836f3616dfca727b516bcc5d3d;hp=498021eb88fb46477a68518698ba71a236804def;hpb=bc7d352c5e76c74c628a39b99777a1bdddde5e81;p=karo-tx-linux.git diff --git a/fs/ext3/ialloc.c b/fs/ext3/ialloc.c index 498021eb88fb..4ab72db3559e 100644 --- a/fs/ext3/ialloc.c +++ b/fs/ext3/ialloc.c @@ -119,20 +119,8 @@ void ext3_free_inode (handle_t *handle, struct inode * inode) ino = inode->i_ino; ext3_debug ("freeing inode %lu\n", ino); - /* - * Note: we must free any quota before locking the superblock, - * as writing the quota to disk may need the lock as well. - */ - dquot_initialize(inode); - ext3_xattr_delete_inode(handle, inode); - dquot_free_inode(inode); - dquot_drop(inode); - is_directory = S_ISDIR(inode->i_mode); - /* Do this BEFORE marking the inode not in use or returning an error */ - clear_inode (inode); - es = EXT3_SB(sb)->s_es; if (ino < EXT3_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) { ext3_error (sb, "ext3_free_inode",