gfs2: Switch to wait_event in gfs2_quotad
[platform/kernel/linux-rpi.git] / fs / gfs2 / bmap.c
index c739b25..c2f0ed7 100644 (file)
@@ -161,7 +161,7 @@ int gfs2_unstuff_dinode(struct gfs2_inode *ip)
        int error;
 
        down_write(&ip->i_rw_mutex);
-       page = find_or_create_page(inode->i_mapping, 0, GFP_NOFS);
+       page = grab_cache_page(inode->i_mapping, 0);
        error = -ENOMEM;
        if (!page)
                goto out;
@@ -1729,8 +1729,8 @@ static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length)
 
        if (offset >= maxsize) {
                /*
-                * The starting point lies beyond the allocated meta-data;
-                * there are no blocks do deallocate.
+                * The starting point lies beyond the allocated metadata;
+                * there are no blocks to deallocate.
                 */
                return 0;
        }