data.c (1d373a0ef7a7bc08f95ca820c627e961fb21e188) data.c (67f8cf3cee6f398d05de8333c04fea2ddb59c805)
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

--- 757 unchanged lines hidden (view full) ---

766 u32 flags = 0;
767 bool past_eof = false, whole_file = false;
768 int ret = 0;
769
770 ret = fiemap_check_flags(fieinfo, FIEMAP_FLAG_SYNC);
771 if (ret)
772 return ret;
773
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

--- 757 unchanged lines hidden (view full) ---

766 u32 flags = 0;
767 bool past_eof = false, whole_file = false;
768 int ret = 0;
769
770 ret = fiemap_check_flags(fieinfo, FIEMAP_FLAG_SYNC);
771 if (ret)
772 return ret;
773
774 if (f2fs_has_inline_data(inode)) {
775 ret = f2fs_inline_data_fiemap(inode, fieinfo, start, len);
776 if (ret != -EAGAIN)
777 return ret;
778 }
779
774 mutex_lock(&inode->i_mutex);
775
776 if (len >= isize) {
777 whole_file = true;
778 len = isize;
779 }
780
781 if (logical_to_blk(inode, len) == 0)

--- 911 unchanged lines hidden ---
780 mutex_lock(&inode->i_mutex);
781
782 if (len >= isize) {
783 whole_file = true;
784 len = isize;
785 }
786
787 if (logical_to_blk(inode, len) == 0)

--- 911 unchanged lines hidden ---