Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352954
b: refs/heads/master
c: d2b47cf
h: refs/heads/master
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Feb 1, 2013
1 parent 5238015 commit 0be41fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4506a519f2a76775e6c236f44d50e9f79a7d3434
refs/heads/master: d2b47cfb26fe06002b8011707baac71a9ae8166f
4 changes: 4 additions & 0 deletions trunk/fs/gfs2/bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,10 @@ int gfs2_setattr_size(struct inode *inode, u64 newsize)

inode_dio_wait(inode);

ret = gfs2_rs_alloc(GFS2_I(inode));
if (ret)
return ret;

oldsize = inode->i_size;
if (newsize >= oldsize)
return do_grow(inode, newsize);
Expand Down

0 comments on commit 0be41fb

Please sign in to comment.