Messages in this thread Patches in this message | | | Date | Tue, 30 Nov 1999 01:54:31 +0100 | From | Daniel Roesen <> | Subject | Re: [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/
| |