VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Linus Torvalds <torvalds@linux-foundation.org> 2009-03-26 16:14:02 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2009-03-26 16:14:02 -0700 commit: 8e9d2089723d08d51e66c5eea49253d76e27941e parent: ba1eb95cf3cc666769afe42eaa15a3a34ae82f94
Commit Summary:
Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index da806aceae3f..b74a8e1da913 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -128,6 +128,7 @@ struct file *get_empty_filp(void)
 	atomic_long_set(&f->f_count, 1);
 	rwlock_init(&f->f_owner.lock);
 	f->f_cred = get_cred(cred);
+	spin_lock_init(&f->f_lock);
 	eventpoll_init_file(f);
 	/* f->f_version: 0 */
 	return f;