VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com> 2018-10-30 15:06:11 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-10-31 08:54:13 -0700 commit: ef75bcc5763d130451a99825f247d301088b790b parent: d057c036672f33d43a5f7344acbb08cf3a8a0c09
Commit Summary:
hfs: fix BUG on bnode parent update
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/hfs/brec.c b/fs/hfs/brec.c
index da25c49203cc..896396554bcc 100644
--- a/fs/hfs/brec.c
+++ b/fs/hfs/brec.c
@@ -445,6 +445,7 @@ skip:
 			/* restore search_key */
 			hfs_bnode_read_key(node, fd->search_key, 14);
 		}
+		new_node = NULL;
 	}
 
 	if (!rec && node->parent)