]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/tty.h
fs: cleanup files_lock locking
[net-next-2.6.git] / include / linux / tty.h
index 1437da3ddc629b7dc285e7cb4ce11e2b5400de7a..f6b371a2514e4a1a6131e83efbf78bc16cad2a90 100644 (file)
@@ -470,6 +470,7 @@ extern struct tty_struct *tty_pair_get_tty(struct tty_struct *tty);
 extern struct tty_struct *tty_pair_get_pty(struct tty_struct *tty);
 
 extern struct mutex tty_mutex;
+extern spinlock_t tty_files_lock;
 
 extern void tty_write_unlock(struct tty_struct *tty);
 extern int tty_write_lock(struct tty_struct *tty, int ndelay);