]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/gfs2/quota.c
Merge remote-tracking branch 'pm/linux-next'
[karo-tx-linux.git] / fs / gfs2 / quota.c
index 0c8e5d3f1ac610b72fe9aba233fd011cdca6b00e..c7871c721576caa8dc4efdbc95a034166d60b810 100644 (file)
@@ -709,7 +709,7 @@ get_a_page:
                set_buffer_uptodate(bh);
 
        if (!buffer_uptodate(bh)) {
-               ll_rw_block(READ_META, 1, &bh);
+               ll_rw_block(READ | REQ_META | REQ_PRIO, 1, &bh);
                wait_on_buffer(bh);
                if (!buffer_uptodate(bh))
                        goto unlock_out;
@@ -1422,8 +1422,8 @@ int gfs2_quotad(void *data)
                /* Check for & recover partially truncated inodes */
                quotad_check_trunc_list(sdp);
 
-               if (freezing(current))
-                       refrigerator();
+               try_to_freeze();
+
                t = min(quotad_timeo, statfs_timeo);
 
                prepare_to_wait(&sdp->sd_quota_wait, &wait, TASK_INTERRUPTIBLE);