| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] refactor xfs_mountfs for clarity & stack savings |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Tue, 28 Aug 2007 15:24:39 -0500 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <20070828195221.GA7237@infradead.org> |
| References: | <46D37A82.2080608@sandeen.net> <20070828195221.GA7237@infradead.org> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.12 (X11/20070530) |
Christoph Hellwig wrote:
> Looks goo to me except for a tiny nitpick:
>
>> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx
>> + if ((error = xfs_readsb(mp, mfsi_flags))) {
>> + return error;
>> + }
>
>> + if ((error = xfs_update_alignment(mp, mfsi_flags, &update_flags)))
>> + goto error1;
>
>> + if ((error = xfs_check_sizes(mp, mfsi_flags)))
>> + goto error1;
>
>> if ((error = xfs_rtmount_init(mp))) {
>
> Please make sure the assignment and conditional are on separate lines
> for all of these once you're cleaning up this function. In the first
> case there's also some braces to remove.
>
yeah, good point. That was just cut & pasting what was already there...
-Eric
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] xfs_dmapi: add MODULE_ tags, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH] clean up vnode^winode tracing, Eric Sandeen |
| Previous by Thread: | Re: [PATCH] refactor xfs_mountfs for clarity & stack savings, Christoph Hellwig |
| Next by Thread: | [PATCH V2] refactor xfs_mountfs for clarity & stack savings, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |