ref: a4792c8e13d24036aa1151a50054848dd14a346b
parent: eec357955403829d0751bf82a4407061a3c52bec
author: ngkaho1234 <ngkaho1234@gmail.com>
date: Fri Jan 15 23:01:17 EST 2016
ext4: fix entering a dead loop when ext4_dir_rm failed.
--- a/lwext4/ext4.c
+++ b/lwext4/ext4.c
@@ -2654,6 +2654,9 @@
}
+ if (r != EOK)
+ break;
+
} while (depth);
/*Last unlink*/