inode.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | inode.c (1c3ce5417b338ba3c697bac6485581ba117d8e52) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-or-later 2/* -*- mode: c; c-basic-offset: 8; -*- 3 * vim: noexpandtab sw=8 ts=8 sts=0: 4 * 5 * inode.c 6 * 7 * vfs' aops, fops, dops and iops 8 * --- 520 unchanged lines hidden (view full) --- 529 530 /* 531 * This is a code bug. Right now the caller needs to 532 * understand whether it is asking for a system file inode or 533 * not so the proper lock names can be built. 534 */ 535 mlog_bug_on_msg(!!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != 536 !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE), | 1// SPDX-License-Identifier: GPL-2.0-or-later 2/* -*- mode: c; c-basic-offset: 8; -*- 3 * vim: noexpandtab sw=8 ts=8 sts=0: 4 * 5 * inode.c 6 * 7 * vfs' aops, fops, dops and iops 8 * --- 520 unchanged lines hidden (view full) --- 529 530 /* 531 * This is a code bug. Right now the caller needs to 532 * understand whether it is asking for a system file inode or 533 * not so the proper lock names can be built. 534 */ 535 mlog_bug_on_msg(!!(fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) != 536 !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE), |
537 "Inode %llu: system file state is ambigous\n", | 537 "Inode %llu: system file state is ambiguous\n", |
538 (unsigned long long)args->fi_blkno); 539 540 if (S_ISCHR(le16_to_cpu(fe->i_mode)) || 541 S_ISBLK(le16_to_cpu(fe->i_mode))) 542 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); 543 544 ocfs2_populate_inode(inode, fe, 0); 545 --- 1116 unchanged lines hidden --- | 538 (unsigned long long)args->fi_blkno); 539 540 if (S_ISCHR(le16_to_cpu(fe->i_mode)) || 541 S_ISBLK(le16_to_cpu(fe->i_mode))) 542 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); 543 544 ocfs2_populate_inode(inode, fe, 0); 545 --- 1116 unchanged lines hidden --- |