]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/jbd/transaction.c
[PATCH] gfp_t: fs/*
[mirror_ubuntu-jammy-kernel.git] / fs / jbd / transaction.c
index c6ec66fd876682f4846f0638c2b3682a66b49f94..13cb05bf60489e0005d635d66a63b47692ed72a6 100644 (file)
@@ -1340,8 +1340,7 @@ int journal_stop(handle_t *handle)
        if (handle->h_sync) {
                do {
                        old_handle_count = transaction->t_handle_count;
-                       set_current_state(TASK_UNINTERRUPTIBLE);
-                       schedule_timeout(1);
+                       schedule_timeout_uninterruptible(1);
                } while (old_handle_count != transaction->t_handle_count);
        }
 
@@ -1622,7 +1621,7 @@ out:
  * while the data is part of a transaction.  Yes?
  */
 int journal_try_to_free_buffers(journal_t *journal, 
-                               struct page *page, int unused_gfp_mask)
+                               struct page *page, gfp_t unused_gfp_mask)
 {
        struct buffer_head *head;
        struct buffer_head *bh;