diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/ops_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index d7f4726ae0ce..f4842f2548cd 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -394,6 +394,7 @@ static int gfs2_page_mkwrite(struct vm_area_struct *vma, struct page *page) | |||
394 | last_index = ip->i_inode.i_size >> PAGE_CACHE_SHIFT; | 394 | last_index = ip->i_inode.i_size >> PAGE_CACHE_SHIFT; |
395 | if (page->index > last_index) | 395 | if (page->index > last_index) |
396 | goto out_unlock_page; | 396 | goto out_unlock_page; |
397 | ret = 0; | ||
397 | if (!PageUptodate(page) || page->mapping != ip->i_inode.i_mapping) | 398 | if (!PageUptodate(page) || page->mapping != ip->i_inode.i_mapping) |
398 | goto out_unlock_page; | 399 | goto out_unlock_page; |
399 | if (gfs2_is_stuffed(ip)) { | 400 | if (gfs2_is_stuffed(ip)) { |