Branch b_release_1_6_7
b=18238
i=green
i=umka
information, please refer to bugzilla 17630.
Severity : normal
-Frequency : rarw
+Frequency : rare
+Bugzilla : 18238
+Descriptoin: panic in mds_open
+Details : don't confuse mds_finish_transno() with PTR_ERR(-ENOENT)
+
+Severity : normal
+Frequency : rare
Bugzilla : 17972
Descriptoin: stuck in cache_remove_extent() or panic with accessing to already
freed look.
dchild = dget(dparent);
}
- if (IS_ERR(dchild)) {
- rc = PTR_ERR(dchild);
- dchild = NULL; /* don't confuse mds_finish_transno() below */
- GOTO(cleanup, rc);
- }
-
if (rec->ur_flags & MDS_OPEN_JOIN_FILE) {
acc_mode = accmode(dchild->d_inode, rec->ur_flags);
GOTO(found_child, rc);
*dchildp = ll_lookup_one_len(name, *dparentp, namelen - 1);
if (IS_ERR(*dchildp)) {
rc = PTR_ERR(*dchildp);
+ *dchildp = NULL;
CDEBUG(D_INODE, "child lookup error %d\n", rc);
GOTO(cleanup, rc);
}