Skip to content

Commit

Permalink
jbd2-make-the-whole-kjournald2-kthread-nofs-safe-checkpatch-fixes
Browse files Browse the repository at this point in the history
WARNING: line over 80 characters
torvalds#42: FILE: fs/jbd2/journal.c:210:
+	 * Make sure that no allocations from this kernel thread will ever recurse

total: 0 errors, 1 warnings, 20 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

./patches/jbd2-make-the-whole-kjournald2-kthread-nofs-safe.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Jan Kara <jack@suse.cz>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
akpm00 authored and Michal Hocko committed Mar 7, 2017
1 parent 73c99a1 commit 3c93cb0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fs/jbd2/journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,10 @@ static int kjournald2(void *arg)
wake_up(&journal->j_wait_done_commit);

/*
* Make sure that no allocations from this kernel thread will ever recurse
* to the fs layer because we are responsible for the transaction commit
* and any fs involvement might get stuck waiting for the trasn. commit.
* Make sure that no allocations from this kernel thread will ever
* recurse to the fs layer because we are responsible for the
* transaction commit and any fs involvement might get stuck waiting for
* the trasn. commit.
*/
memalloc_nofs_save();

Expand Down

0 comments on commit 3c93cb0

Please sign in to comment.