inode.c (f1615bbe9be4def59c3b3eaddb60722efeed16c2) | inode.c (d6b7d4b31dfd5a454a71c445b8086bc098237334) |
---|---|
1/* 2 * fs/f2fs/inode.c 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 64 unchanged lines hidden (view full) --- 73 struct f2fs_inode_info *fi = F2FS_I(inode); 74 struct page *node_page; 75 struct f2fs_inode *ri; 76 77 /* Check if ino is within scope */ 78 if (check_nid_range(sbi, inode->i_ino)) { 79 f2fs_msg(inode->i_sb, KERN_ERR, "bad inode number: %lu", 80 (unsigned long) inode->i_ino); | 1/* 2 * fs/f2fs/inode.c 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 64 unchanged lines hidden (view full) --- 73 struct f2fs_inode_info *fi = F2FS_I(inode); 74 struct page *node_page; 75 struct f2fs_inode *ri; 76 77 /* Check if ino is within scope */ 78 if (check_nid_range(sbi, inode->i_ino)) { 79 f2fs_msg(inode->i_sb, KERN_ERR, "bad inode number: %lu", 80 (unsigned long) inode->i_ino); |
81 WARN_ON(1); |
|
81 return -EINVAL; 82 } 83 84 node_page = get_node_page(sbi, inode->i_ino); 85 if (IS_ERR(node_page)) 86 return PTR_ERR(node_page); 87 88 ri = F2FS_INODE(node_page); --- 211 unchanged lines hidden --- | 82 return -EINVAL; 83 } 84 85 node_page = get_node_page(sbi, inode->i_ino); 86 if (IS_ERR(node_page)) 87 return PTR_ERR(node_page); 88 89 ri = F2FS_INODE(node_page); --- 211 unchanged lines hidden --- |