All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20101102182911.GE25614@thunk.org>

diff --git a/a/1.txt b/N1/1.txt
index f0dfd5e..f4e1638 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -44,3 +44,17 @@ index 8d1d942..4d7ef31 100644
  
 -			if (time_after_eq(jiffies, elr->lr_next_sched))
 -				ret = ext4_run_li_request(elr);
+-
+-			if (ret) {
+-				ret = 0;
+-				ext4_remove_li_request(elr);
+-				continue;
++			if (time_after_eq(jiffies, elr->lr_next_sched)) {
++				if (ext4_run_li_request(elr) != 0) {
++					/* error, remove the lazy_init job */
++					ext4_remove_li_request(elr);
++					continue;
++				}
+ 			}
+ 
+ 			if (time_before(elr->lr_next_sched, next_wakeup))
diff --git a/a/content_digest b/N1/content_digest
index fb2e375..058c8da 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -54,6 +54,20 @@
  " \t\t\t\t\t lr_request);\n"
  " \n"
  "-\t\t\tif (time_after_eq(jiffies, elr->lr_next_sched))\n"
- "-\t\t\t\tret = ext4_run_li_request(elr);"
+ "-\t\t\t\tret = ext4_run_li_request(elr);\n"
+ "-\n"
+ "-\t\t\tif (ret) {\n"
+ "-\t\t\t\tret = 0;\n"
+ "-\t\t\t\text4_remove_li_request(elr);\n"
+ "-\t\t\t\tcontinue;\n"
+ "+\t\t\tif (time_after_eq(jiffies, elr->lr_next_sched)) {\n"
+ "+\t\t\t\tif (ext4_run_li_request(elr) != 0) {\n"
+ "+\t\t\t\t\t/* error, remove the lazy_init job */\n"
+ "+\t\t\t\t\text4_remove_li_request(elr);\n"
+ "+\t\t\t\t\tcontinue;\n"
+ "+\t\t\t\t}\n"
+ " \t\t\t}\n"
+ " \n"
+ " \t\t\tif (time_before(elr->lr_next_sched, next_wakeup))"
 
-64e3501657cd1ef76cfbbf565ede4a1ddf501cbb64639f46a30444cc2213f8ed
+28a691157e5029e820c97208b3342ed5ebc80a2cc3942269444bef50d5e07d07

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.