aops.c (a6cbcd4a4a85e2fdb0b3344b88df2e8b3d526b9e) aops.c (31b140398ce56ab41646eda7f02bcb78d6a4c916)
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */

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

1092 rv = filemap_write_and_wait_range(mapping, lstart, end);
1093 if (rv)
1094 goto out;
1095 if (rw == WRITE)
1096 truncate_inode_pages_range(mapping, lstart, end);
1097 }
1098
1099 rv = __blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev,
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */

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

1092 rv = filemap_write_and_wait_range(mapping, lstart, end);
1093 if (rv)
1094 goto out;
1095 if (rw == WRITE)
1096 truncate_inode_pages_range(mapping, lstart, end);
1097 }
1098
1099 rv = __blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev,
1100 iter->iov, offset, iter->nr_segs,
1100 iter, offset,
1101 gfs2_get_block_direct, NULL, NULL, 0);
1102out:
1103 gfs2_glock_dq(&gh);
1104 gfs2_holder_uninit(&gh);
1105 return rv;
1106}
1107
1108/**

--- 124 unchanged lines hidden ---
1101 gfs2_get_block_direct, NULL, NULL, 0);
1102out:
1103 gfs2_glock_dq(&gh);
1104 gfs2_holder_uninit(&gh);
1105 return rv;
1106}
1107
1108/**

--- 124 unchanged lines hidden ---