data.c (a2e2e76b23038b187e5656c467ec76eeb29b8275) | data.c (b323fd28bbf95c3181e02e7a642b7d24f3e32714) |
---|---|
1/* 2 * fs/f2fs/data.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 --- 1186 unchanged lines hidden (view full) --- 1195 if (!page) 1196 return -ENOMEM; 1197 1198 get_node_info(sbi, inode->i_ino, &ni); 1199 1200 phys = (__u64)blk_to_logical(inode, ni.blk_addr); 1201 offset = offsetof(struct f2fs_inode, i_addr) + 1202 sizeof(__le32) * (DEF_ADDRS_PER_INODE - | 1/* 2 * fs/f2fs/data.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 --- 1186 unchanged lines hidden (view full) --- 1195 if (!page) 1196 return -ENOMEM; 1197 1198 get_node_info(sbi, inode->i_ino, &ni); 1199 1200 phys = (__u64)blk_to_logical(inode, ni.blk_addr); 1201 offset = offsetof(struct f2fs_inode, i_addr) + 1202 sizeof(__le32) * (DEF_ADDRS_PER_INODE - |
1203 F2FS_INLINE_XATTR_ADDRS(inode)); | 1203 get_inline_xattr_addrs(inode)); |
1204 1205 phys += offset; 1206 len = inline_xattr_size(inode); 1207 1208 f2fs_put_page(page, 1); 1209 1210 flags = FIEMAP_EXTENT_DATA_INLINE | FIEMAP_EXTENT_NOT_ALIGNED; 1211 --- 1240 unchanged lines hidden --- | 1204 1205 phys += offset; 1206 len = inline_xattr_size(inode); 1207 1208 f2fs_put_page(page, 1); 1209 1210 flags = FIEMAP_EXTENT_DATA_INLINE | FIEMAP_EXTENT_NOT_ALIGNED; 1211 --- 1240 unchanged lines hidden --- |