diff options
Diffstat (limited to 'fs/gfs2/quota.c')
| -rw-r--r-- | fs/gfs2/quota.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 7a98abd340ee..e8585dfd209f 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
| @@ -735,7 +735,10 @@ static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, | |||
| 735 | if (!buffer_uptodate(bh)) | 735 | if (!buffer_uptodate(bh)) |
| 736 | goto unlock_out; | 736 | goto unlock_out; |
| 737 | } | 737 | } |
| 738 | gfs2_trans_add_data(ip->i_gl, bh); | 738 | if (gfs2_is_jdata(ip)) |
| 739 | gfs2_trans_add_data(ip->i_gl, bh); | ||
| 740 | else | ||
| 741 | gfs2_ordered_add_inode(ip); | ||
| 739 | 742 | ||
| 740 | /* If we need to write to the next block as well */ | 743 | /* If we need to write to the next block as well */ |
| 741 | if (to_write > (bsize - boff)) { | 744 | if (to_write > (bsize - boff)) { |
