All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4D82D850.6090702@cn.fujitsu.com>

diff --git a/a/1.txt b/N1/1.txt
index d037ebd..3df5b98 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -20,3 +20,18 @@ index 97e7346..2f2e40f 100644
 -{
 -	kfree(rcu);
 -}
+-
+ const char *jbd2_dev_to_name(dev_t device)
+ {
+ 	int	i = hash_32(device, CACHE_SIZE_BITS);
+@@ -2421,7 +2416,7 @@ const char *jbd2_dev_to_name(dev_t device)
+ 			spin_unlock(&devname_cache_lock);
+ 			return ret;
+ 		}
+-		call_rcu(&devcache[i]->rcu, free_devcache);
++		kfree_rcu(devcache[i], rcu);
+ 	}
+ 	devcache[i] = new_dev;
+ 	devcache[i]->device = device;
+-- 
+1.7.4
diff --git a/a/content_digest b/N1/content_digest
index b029196..dc42ac6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -6,7 +6,7 @@
   Andrew Morton <akpm@linux-foundation.org>
   Jan Kara <jack@suse.cz>
   linux-ext4@vger.kernel.org
- " linux-ke\0"
+ " linux-kernel@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
  "\n"
@@ -30,6 +30,21 @@
  "-static void free_devcache(struct rcu_head *rcu)\n"
  "-{\n"
  "-\tkfree(rcu);\n"
- -}
+ "-}\n"
+ "-\n"
+ " const char *jbd2_dev_to_name(dev_t device)\n"
+ " {\n"
+ " \tint\ti = hash_32(device, CACHE_SIZE_BITS);\n"
+ "@@ -2421,7 +2416,7 @@ const char *jbd2_dev_to_name(dev_t device)\n"
+ " \t\t\tspin_unlock(&devname_cache_lock);\n"
+ " \t\t\treturn ret;\n"
+ " \t\t}\n"
+ "-\t\tcall_rcu(&devcache[i]->rcu, free_devcache);\n"
+ "+\t\tkfree_rcu(devcache[i], rcu);\n"
+ " \t}\n"
+ " \tdevcache[i] = new_dev;\n"
+ " \tdevcache[i]->device = device;\n"
+ "-- \n"
+ 1.7.4
 
-89ee3db73925c232d55f940d7fb69f0b8e98df91e47623221ddb1fabb8a15247
+1c45b1a355e864d084c000498cc0b32fbd11f2e83eac54dbb0ba92ae10890e71

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.