Messages in this thread Patch in this message | | | Date | Tue, 21 Mar 2000 01:09:30 -0800 (PST) | From | david <> | 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; } | |