+ fix-crash-on-ocfs2_duplicate_clusters_by_page-v5.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
has been added to the -mm tree.  Its filename is
     fix-crash-on-ocfs2_duplicate_clusters_by_page-v5.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/fix-crash-on-ocfs2_duplicate_clusters_by_page-v5.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/fix-crash-on-ocfs2_duplicate_clusters_by_page-v5.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: Larry Chen <lchen@xxxxxxxx>
Subject: fix-crash-on-ocfs2_duplicate_clusters_by_page-v5

update comments

Link: http://lkml.kernel.org/r/20180830075041.14879-1-lchen@xxxxxxxx
Signed-off-by: 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 fs/ocfs2/refcounttree.c
--- a/fs/ocfs2/refcounttree.c~fix-crash-on-ocfs2_duplicate_clusters_by_page-v5
+++ a/fs/ocfs2/refcounttree.c
@@ -2955,8 +2955,8 @@ retry:
 		}
 
 		/*
-		 * In case PAGE_SIZE <= CLUSTER_SIZE, This page
-		 * can't be dirtied before we CoW it out.
+		 * 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 lchen@xxxxxxxx are

fix-crash-on-ocfs2_duplicate_clusters_by_page.patch
fix-crash-on-ocfs2_duplicate_clusters_by_page-v5.patch
fix-dead-lock-caused-by-ocfs2_defrag_extent.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