ialloc.c (5f675231e456cb599b283f8361f01cf34b0617df) | ialloc.c (8a363970d1dc38c4ec4ad575c862f776f468d057) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/ext4/ialloc.c 4 * 5 * Copyright (C) 1992, 1993, 1994, 1995 6 * Remy Card (card@masi.ibp.fr) 7 * Laboratoire MASI - Institut Blaise Pascal 8 * Universite Pierre et Marie Curie (Paris VI) --- 1211 unchanged lines hidden (view full) --- 1220 1221 /* Having the inode bit set should be a 100% indicator that this 1222 * is a valid orphan (no e2fsck run on fs). Orphans also include 1223 * inodes that were being truncated, so we can't check i_nlink==0. 1224 */ 1225 if (!ext4_test_bit(bit, bitmap_bh->b_data)) 1226 goto bad_orphan; 1227 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/ext4/ialloc.c 4 * 5 * Copyright (C) 1992, 1993, 1994, 1995 6 * Remy Card (card@masi.ibp.fr) 7 * Laboratoire MASI - Institut Blaise Pascal 8 * Universite Pierre et Marie Curie (Paris VI) --- 1211 unchanged lines hidden (view full) --- 1220 1221 /* Having the inode bit set should be a 100% indicator that this 1222 * is a valid orphan (no e2fsck run on fs). Orphans also include 1223 * inodes that were being truncated, so we can't check i_nlink==0. 1224 */ 1225 if (!ext4_test_bit(bit, bitmap_bh->b_data)) 1226 goto bad_orphan; 1227 |
1228 inode = ext4_iget(sb, ino); | 1228 inode = ext4_iget(sb, ino, EXT4_IGET_NORMAL); |
1229 if (IS_ERR(inode)) { 1230 err = PTR_ERR(inode); 1231 ext4_error(sb, "couldn't read orphan inode %lu (err %d)", 1232 ino, err); 1233 return inode; 1234 } 1235 1236 /* --- 209 unchanged lines hidden --- | 1229 if (IS_ERR(inode)) { 1230 err = PTR_ERR(inode); 1231 ext4_error(sb, "couldn't read orphan inode %lu (err %d)", 1232 ino, err); 1233 return inode; 1234 } 1235 1236 /* --- 209 unchanged lines hidden --- |