SOURCES (LINUX_2_6_20): linux-2.6-vs2.3.patch - fix for fs/dquot.c
mguevara
mguevara at pld-linux.org
Tue Jan 16 11:44:30 CET 2007
Author: mguevara Date: Tue Jan 16 10:44:30 2007 GMT
Module: SOURCES Tag: LINUX_2_6_20
---- Log message:
- fix for fs/dquot.c
---- Files affected:
SOURCES:
linux-2.6-vs2.3.patch (1.2.2.7 -> 1.2.2.8)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-vs2.3.patch
diff -u SOURCES/linux-2.6-vs2.3.patch:1.2.2.7 SOURCES/linux-2.6-vs2.3.patch:1.2.2.8
--- SOURCES/linux-2.6-vs2.3.patch:1.2.2.7 Tue Jan 16 11:33:57 2007
+++ SOURCES/linux-2.6-vs2.3.patch Tue Jan 16 11:44:25 2007
@@ -3409,13 +3409,13 @@
}
@@ -837,7 +848,7 @@ static void print_warning(struct dquot *
- mutex_lock(&tty_mutex);
- if (!current->signal->tty)
+ tty = get_current_tty();
+ if (!tty)
goto out_lock;
-- tty_write_message(current->signal->tty, dquot->dq_sb->s_id);
-+ tty_write_message(current->signal->tty, dquot->dq_dqh->dqh_sb->s_id);
+- tty_write_message(tty, dquot->dq_sb->s_id);
++ tty_write_message(tty, dquot->dq_dqh->dqh_sb->s_id);
if (warntype == ISOFTWARN || warntype == BSOFTWARN)
- tty_write_message(current->signal->tty, ": warning, ");
+ tty_write_message(tty, ": warning, ");
else
@@ -879,7 +890,7 @@ static inline void flush_warnings(struct
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-vs2.3.patch?r1=1.2.2.7&r2=1.2.2.8&f=u
More information about the pld-cvs-commit
mailing list