data.c (d8d3d94b80aa1a1c0ca75c58b8abdc7356f38418) | data.c (31b140398ce56ab41646eda7f02bcb78d6a4c916) |
---|---|
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 --- 1008 unchanged lines hidden (view full) --- 1017 1018 /* Let buffer I/O handle the inline data case. */ 1019 if (f2fs_has_inline_data(inode)) 1020 return 0; 1021 1022 if (check_direct_IO(inode, rw, iter->iov, offset, iter->nr_segs)) 1023 return 0; 1024 | 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 --- 1008 unchanged lines hidden (view full) --- 1017 1018 /* Let buffer I/O handle the inline data case. */ 1019 if (f2fs_has_inline_data(inode)) 1020 return 0; 1021 1022 if (check_direct_IO(inode, rw, iter->iov, offset, iter->nr_segs)) 1023 return 0; 1024 |
1025 return blockdev_direct_IO(rw, iocb, inode, iter->iov, offset, 1026 iter->nr_segs, get_data_block); | 1025 return blockdev_direct_IO(rw, iocb, inode, iter, offset, 1026 get_data_block); |
1027} 1028 1029static void f2fs_invalidate_data_page(struct page *page, unsigned int offset, 1030 unsigned int length) 1031{ 1032 struct inode *inode = page->mapping->host; 1033 if (PageDirty(page)) 1034 inode_dec_dirty_dents(inode); --- 45 unchanged lines hidden --- | 1027} 1028 1029static void f2fs_invalidate_data_page(struct page *page, unsigned int offset, 1030 unsigned int length) 1031{ 1032 struct inode *inode = page->mapping->host; 1033 if (PageDirty(page)) 1034 inode_dec_dirty_dents(inode); --- 45 unchanged lines hidden --- |