All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info
@ 2012-06-25  8:00 Tiger Yang
  2012-06-25  8:03 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: remove redundant and incorrect mlog_error Tiger Yang
  2012-06-25  8:04 ` [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info Marek Królikowski
  0 siblings, 2 replies; 6+ messages in thread
From: Tiger Yang @ 2012-06-25  8:00 UTC (permalink / raw)
  To: ocfs2-devel

Hi, All,

When mount ocfs2 with option usrquota and grpquota, we will see below 
message:

(mount.ocfs2,9434,1):ocfs2_global_read_info:403 ERROR: status = 24
(mount.ocfs2,9434,3):ocfs2_global_read_info:403 ERROR: status = 24

But actually this should not be a error.

In ocfs2_global_read_info, if  read_quota() succeed, status is the size 
of the struct ocfs2_global_disk_dqinfo, only when it is not equal to the 
correct size, it will be a error. So this positive value should be 
return and should not log it as a error.

I made a patch to fix this, and in the patch I removed the redundant 
mlog_errno also.

Thanks for review

Tiger

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-04  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25  8:00 [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info Tiger Yang
2012-06-25  8:03 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: remove redundant and incorrect mlog_error Tiger Yang
2012-07-04  6:26   ` Joel Becker
2012-06-25  8:04 ` [Ocfs2-devel] fix mlog_errno in ocfs2_global_read_info Marek Królikowski
2012-06-25  8:16   ` Tiger Yang
2012-06-25  8:19     ` Marek Królikowski

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.