]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/file_table.c
Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6
[linux-2.6-omap-h63xx.git] / fs / file_table.c
index da806aceae3f7c350c449821defb7647234c2840..b74a8e1da913c95033bc494e39c6c9f0ff87316d 100644 (file)
@@ -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;