lkml.org 
[lkml]   [1999]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
SubjectRe: [PATCH (updated)] Fix compilation warning in dquot.c of 2.2.14pre9 and 2.3.30pre3
Hi!

OK, now the updated patch only for the obvious compile warning in dquot.c.
Two patches, one against 2.2.14pre9, one against 2.3.30pre3 for your
convenience ;)


Best regards,
Daniel


--- linux-2.2.14pre9.vanilla/fs/dquot.c Tue Nov 30 00:16:27 1999
+++ linux-2.2.14pre9/fs/dquot.c Tue Nov 30 01:46:10 1999
@@ -732,7 +732,7 @@
}
inode->i_flags &= ~S_QUOTA;
put_it:
- if (dquot != NODQUOT)
+ if (dquot != NODQUOT) {
if (dqput_blocks(dquot)) {
spin_unlock(&inode_lock); /* We may block so drop the lock... */
dqput(dquot);
@@ -742,6 +742,8 @@
}
else
dqput(dquot); /* dqput() won't block so we can hold locks... */
+ }
+
return 0;
}

--- linux-2.3.30pre3.vanilla/fs/dquot.c Fri Nov 12 13:36:13 1999
+++ linux-2.3.30pre3/fs/dquot.c Tue Nov 30 01:48:58 1999
@@ -722,7 +722,7 @@
}
inode->i_flags &= ~S_QUOTA;
put_it:
- if (dquot != NODQUOT)
+ if (dquot != NODQUOT) {
if (dqput_blocks(dquot)) {
if (dquot->dq_count != 1)
printk(KERN_WARNING "VFS: Adding dquot with dq_count %d to dispose list.\n", dquot->dq_count);
@@ -731,6 +731,8 @@
}
else
dqput(dquot); /* We have guaranteed we won't block */
+ }
+
return 0;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.125 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site