VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Jonathan Corbet <corbet@lwn.net> 2009-02-06 13:52:43 -0700 committer: Jonathan Corbet <corbet@lwn.net> 2009-03-16 08:32:27 -0600 commit: 684999149002dd046269666a390458e0acb38280 parent: 041b62374c7fedc11a8a1eeda2868612d3d1436c
Commit Summary:
Rename struct file->f_ep_lock
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/file_table.c b/fs/file_table.c
index bbeeac6efa1a..aa1e18050282 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -127,6 +127,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;