lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] fs/dquote.c, braces for ambiguous 'else'
The attached patch makes gcc more happy.

-d
--- fs/dquot.c~ Mon Mar 20 19:34:18 2000
+++ fs/dquot.c Tue Mar 21 01:06:43 2000
@@ -716,7 +716,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);
@@ -725,6 +725,7 @@
}
else
dqput(dquot); /* We have guaranteed we won't block */
+ }
return 0;
}
\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.029 / U:1.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site