From: David Chatterton <chatz@melbourne.sgi.com>
To: Timothy Shimmin <tes@sgi.com>
Cc: David Chinner <dgc@sgi.com>, xfs-dev@sgi.com, xfs@oss.sgi.com
Subject: Re: Review: Fix inverted quiet mount logic
Date: Wed, 22 Nov 2006 16:02:04 +1100 [thread overview]
Message-ID: <4563D9CC.4030006@melbourne.sgi.com> (raw)
In-Reply-To: <7013720DE121BA0C2CA1A09D@timothy-shimmins-power-mac-g5.local>
One of the bugs we found on the training course that I had not raised yet...thanks!
Timothy Shimmin wrote:
> Add me to the reviewer list :)
> --Tim
>
> --On 22 November 2006 3:46:56 PM +1100 David Chinner <dgc@sgi.com> wrote:
>
>>
>> Simple problem Noticed by Eric Sandeen at about the same time I did
>> - we are not getting error messages in dmesg when certain checks
>> fail during mount. Turns out the XFS_MFSI_QUIET flag usage is
>> inverted, so we suppress messages when we should be noisy and
>> shout when we should be silent....
>>
>> Cheers,
>>
>> Dave.
>> --
>> Dave Chinner
>> Principal Engineer
>> SGI Australian Software Group
>>
>> ---
>> fs/xfs/xfs_error.h | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> Index: 2.6.x-xfs-new/fs/xfs/xfs_error.h
>> ===================================================================
>> --- 2.6.x-xfs-new.orig/fs/xfs/xfs_error.h 2006-10-17
>> 12:17:25.000000000 +1000
>> +++ 2.6.x-xfs-new/fs/xfs/xfs_error.h 2006-11-16 09:45:03.444451972
>> +1100
>> @@ -180,6 +180,6 @@ extern void xfs_fs_cmn_err(int level, st
>> xfs_fs_cmn_err(level, mp, fmt " Unmount and run xfs_repair.", ##
>> args)
>>
>> #define xfs_fs_mount_cmn_err(f, fmt, args...) \
>> - ((f & XFS_MFSI_QUIET)? cmn_err(CE_WARN, "XFS: " fmt, ## args) :
>> (void)0)
>> + ((f & XFS_MFSI_QUIET)? (void)0 : cmn_err(CE_WARN, "XFS: " fmt, ##
>> args))
>>
>> #endif /* __XFS_ERROR_H__ */
>
>
>
>
--
David Chatterton
XFS Engineering Manager
SGI Australia
next prev parent reply other threads:[~2006-11-22 5:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-22 4:46 Review: Fix inverted quiet mount logic David Chinner
2006-11-22 4:51 ` Timothy Shimmin
2006-11-22 5:02 ` David Chatterton [this message]
2006-11-22 5:15 ` Eric Sandeen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4563D9CC.4030006@melbourne.sgi.com \
--to=chatz@melbourne.sgi.com \
--cc=dgc@sgi.com \
--cc=tes@sgi.com \
--cc=xfs-dev@sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.