[Ocfs2-devel] [PATCH] ocfs2: check if the ocfs2 lock resource be initialized before calling ocfs2_dlm_lock
Andrew Morton
akpm at linux-foundation.org
Tue Mar 31 19:19:09 PDT 2015
On Wed, 1 Apr 2015 08:43:45 +0800 Joseph Qi <joseph.qi at huawei.com> wrote:
> > From: Andrew Morton <akpm at linux-foundation.org>
> > Subject: ocfs2: make mlog_errno return the errno
> >
> > ocfs2 does
> >
> > mlog_errno(v);
> > return v;
> >
> > in many places. Change mlog_errno() so we can do
> >
> > return mlog_errno(v);
> >
> I don't think this is fit for all.
> In many places it should do cleanup rather than just return the error
> code.
There are about 50 sites which can use this.
More information about the Ocfs2-devel
mailing list