git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: Redo current tty locking
[safe/jmp/linux-2.6]
/
fs
/
dquot.c
diff --git
a/fs/dquot.c
b/fs/dquot.c
index
7417a6c
..
ad7e590
100644
(file)
--- a/
fs/dquot.c
+++ b/
fs/dquot.c
@@
-895,9
+895,7
@@
static void print_warning(struct dquot *dquot, const int warntype)
warntype == QUOTA_NL_BSOFTBELOW || !need_print_warning(dquot))
return;
- mutex_lock(&tty_mutex);
tty = get_current_tty();
- mutex_unlock(&tty_mutex);
if (!tty)
return;
tty_write_message(tty, dquot->dq_sb->s_id);