diff options
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r-- | fs/gfs2/ops_address.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c index d33f6aa79731..93e00a8af8cf 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c | |||
@@ -395,8 +395,7 @@ static int gfs2_prepare_write(struct file *file, struct page *page, | |||
395 | 395 | ||
396 | if (gfs2_is_stuffed(ip)) { | 396 | if (gfs2_is_stuffed(ip)) { |
397 | if (end > sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)) { | 397 | if (end > sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode)) { |
398 | error = gfs2_unstuff_dinode(ip, gfs2_unstuffer_page, | 398 | error = gfs2_unstuff_dinode(ip, page); |
399 | page); | ||
400 | if (error == 0) | 399 | if (error == 0) |
401 | goto prepare_write; | 400 | goto prepare_write; |
402 | } else if (!PageUptodate(page)) | 401 | } else if (!PageUptodate(page)) |