projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tty: Redo current tty locking
[linux-2.6-block.git]
/
fs
/
dquot.c
diff --git
a/fs/dquot.c
b/fs/dquot.c
index 7417a6ca3129993b316456acd364e17a1102ee02..ad7e59003e0445943d21f8b9f78090f7b9e19b53 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);