+ fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes
has been added to the -mm tree.  Its filename is
     fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes

WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#4: 
ocfs2_duplicate_clusters_by_page may crash if one of extent's pages is dirty.

WARNING: line over 80 characters
#54: FILE: fs/ocfs2/refcounttree.c:2958:
+		 * In case PAGE_SIZE <= CLUSTER_SIZE, we do not expect a dirty page,

total: 0 errors, 2 warnings, 10 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/fix-crash-on-ocfs2_duplicate_clusters_by_page-v5.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: Larry Chen <lchen@xxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


diff -puN fs/ocfs2/refcounttree.c~fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes fs/ocfs2/refcounttree.c
--- a/fs/ocfs2/refcounttree.c~fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes
+++ a/fs/ocfs2/refcounttree.c
@@ -2955,8 +2955,8 @@ retry:
 		}
 
 		/*
-		 * In case PAGE_SIZE <= CLUSTER_SIZE, we do not expect a dirty page,
-		 * so write it back.
+		 * In case PAGE_SIZE <= CLUSTER_SIZE, we do not expect a dirty
+		 * page, so write it back.
 		 */
 		if (PAGE_SIZE <= OCFS2_SB(sb)->s_clustersize) {
 			if (PageDirty(page)) {
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

mm-utilc-improve-kvfree-kerneldoc.patch
arm-arch-arm-include-asm-pageh-needs-personalityh.patch
fix-crash-on-ocfs2_duplicate_clusters_by_page-v5-checkpatch-fixes.patch
mm.patch
mmpage_alloc-pf_wq_worker-threads-must-sleep-at-should_reclaim_retry-fix.patch
mm-page_alloc-reduce-unnecessary-binary-search-in-memblock_next_valid_pfn-fix.patch
mm-page_alloc-reduce-unnecessary-binary-search-in-memblock_next_valid_pfn-fix-fix.patch
mm-memblock-introduce-memblock_search_pfn_regions-fix.patch
mm-calculate-deferred-pages-after-skipping-mirrored-memory-fix.patch
list_lru-prefetch-neighboring-list-entries-before-acquiring-lock-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
slab-leaks3-default-y.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux