]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/ext4/ialloc.c
Btrfs: Fix a crash when mounting a subvolume
[mv-sheeva.git] / fs / ext4 / ialloc.c
index ac377505ed57a2aa4b319cd868ffcd90db29dc5d..45853e0d1f218a673809fb23522b7bdc5966d9e0 100644 (file)
@@ -222,7 +222,7 @@ void ext4_free_inode(handle_t *handle, struct inode *inode)
        is_directory = S_ISDIR(inode->i_mode);
 
        /* Do this BEFORE marking the inode not in use or returning an error */
-       clear_inode(inode);
+       ext4_clear_inode(inode);
 
        es = EXT4_SB(sb)->s_es;
        if (ino < EXT4_FIRST_INO(sb) || ino > le32_to_cpu(es->s_inodes_count)) {