Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157199
b: refs/heads/master
c: 8379e7c
h: refs/heads/master
i:
  157197: d84f84c
  157195: 48ac2c0
  157191: e30994a
  157183: c641daa
v: v3
  • Loading branch information
Sunil Mushran authored and Joel Becker committed Sep 4, 2009
1 parent 7ffe5fb commit 15b9343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a1b08e75dff3dc18a88444803753e667bb1d126e
refs/heads/master: 8379e7c46cc48f51197dd663fc6676f47f2a1e71
4 changes: 2 additions & 2 deletions trunk/fs/ocfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1747,8 +1747,8 @@ int ocfs2_write_begin_nolock(struct address_space *mapping,
* we know zeros will only be needed in the first and/or last cluster.
*/
if (clusters_to_alloc || extents_to_split ||
wc->w_desc[0].c_needs_zero ||
wc->w_desc[wc->w_clen - 1].c_needs_zero)
(wc->w_clen && (wc->w_desc[0].c_needs_zero ||
wc->w_desc[wc->w_clen - 1].c_needs_zero)))
cluster_of_pages = 1;
else
cluster_of_pages = 0;
Expand Down

0 comments on commit 15b9343

Please sign in to comment.