| To: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] refactor xfs_mountfs for clarity & stack savings |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Tue, 28 Aug 2007 20:52:21 +0100 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <46D37A82.2080608@sandeen.net> |
| References: | <46D37A82.2080608@sandeen.net> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.3i |
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.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] clean up vnode^winode tracing, David Chinner |
|---|---|
| Next by Date: | [PATCH] cleanup vnode useage in xfs_ioctl.c, Christoph Hellwig |
| Previous by Thread: | [PATCH] refactor xfs_mountfs for clarity & stack savings, Eric Sandeen |
| Next by Thread: | Re: [PATCH] refactor xfs_mountfs for clarity & stack savings, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |