[alternative-merged] ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes.patch removed from -mm tree

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

 



The patch titled
     Subject: ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes
has been removed from the -mm tree.  Its filename was
     ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes.patch

This patch was dropped because an alternative patch was merged

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes

WARNING: Prefer kcalloc over kzalloc with multiply
#45: FILE: fs/ocfs2/journal.c:1393:
+		rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS);

total: 0 errors, 1 warnings, 81 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/ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery.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: Changwei Ge <ge.changwei@xxxxxxx>
Cc: Jan Kara <jack@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/ocfs2/journal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/ocfs2/journal.c~ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes fs/ocfs2/journal.c
--- a/fs/ocfs2/journal.c~ocfs2-without-quota-support-try-to-avoid-calling-quota-recovery-checkpatch-fixes
+++ a/fs/ocfs2/journal.c
@@ -1390,7 +1390,7 @@ static int __ocfs2_recovery_thread(void
 	}
 
 	if (quota_enabled) {
-		rm_quota = kzalloc(osb->max_slots * sizeof(int), GFP_NOFS);
+		rm_quota = kcalloc(osb->max_slots, sizeof(int), GFP_NOFS);
 		if (!rm_quota) {
 			status = -ENOMEM;
 			goto bail;
_

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

i-need-old-gcc.patch
arm-arch-arm-include-asm-pageh-needs-personalityh.patch
mm.patch
list_lru-prefetch-neighboring-list-entries-before-acquiring-lock-fix.patch
mm-oom-cgroup-aware-oom-killer-fix.patch
mm-oom-cgroup-aware-oom-killer-fix-2.patch
mm-oom-docs-describe-the-cgroup-aware-oom-killer-fix-2-fix.patch
proc-skip-branch-in-proc-lookup-fix.patch
kcov-prefault-the-kcov_area-fix.patch
kcov-prefault-the-kcov_area-fix-fix.patch
kcov-prefault-the-kcov_area-fix-fix-fix.patch
linux-next-git-rejects.patch
mm-fix-oom_kill-event-handling-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
slab-leaks3-default-y.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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