All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: ceph-devel@vger.kernel.org
Cc: idryomov@gmail.com, dan.carpenter@oracle.com, sage@redhat.com
Subject: [PATCH 0/2] ceph: fix error handling bugs in async dirops callbacks
Date: Wed,  8 Apr 2020 10:21:23 -0400	[thread overview]
Message-ID: <20200408142125.52908-1-jlayton@kernel.org> (raw)

This fixes a couple of problems that Dan spotted with a static checker.
Additionally the first patch also simplifies some of the error handling
in other callers.

Originally, I was going to squash these into the earlier patches that
introduced those bugs, but this is new code that isn't enabled by
default and Ilya was planning to a PR soon, so it's probably best to
just handle them as follow-on fixes to what's currently in
ceph-client/master.

Jeff Layton (2):
  ceph: have ceph_mdsc_free_path ignore ERR_PTR values
  ceph: initialize base and pathlen variables in async dirops cb's

 fs/ceph/debugfs.c    | 4 ----
 fs/ceph/dir.c        | 4 ++--
 fs/ceph/file.c       | 4 ++--
 fs/ceph/mds_client.c | 6 ++----
 fs/ceph/mds_client.h | 2 +-
 5 files changed, 7 insertions(+), 13 deletions(-)

-- 
2.25.2

             reply	other threads:[~2020-04-08 14:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-08 14:21 Jeff Layton [this message]
2020-04-08 14:21 ` [PATCH 1/2] ceph: have ceph_mdsc_free_path ignore ERR_PTR values Jeff Layton
2020-04-13  8:09   ` Ilya Dryomov
2020-04-13 11:15     ` Jeff Layton
2020-04-13 12:35       ` Ilya Dryomov
2020-04-13 13:23         ` Jeff Layton
2020-04-13 15:48           ` Ilya Dryomov
2020-04-13 16:03             ` Jeff Layton
2020-04-13 19:41           ` Dan Carpenter
2020-04-14 10:43             ` Jeff Layton
2020-04-08 14:21 ` [PATCH 2/2] ceph: initialize base and pathlen variables in async dirops cb's Jeff Layton

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=20200408142125.52908-1-jlayton@kernel.org \
    --to=jlayton@kernel.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=dan.carpenter@oracle.com \
    --cc=idryomov@gmail.com \
    --cc=sage@redhat.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.