Re: [PATCH v2] ceph: rename get_session and switch to use ceph_get_mds_session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2019/12/19 18:45, Ilya Dryomov wrote:
On Thu, Dec 19, 2019 at 2:07 AM <xiubli@xxxxxxxxxx> wrote:
From: Xiubo Li <xiubli@xxxxxxxxxx>

Just in case the session's refcount reach 0 and is releasing, and
if we get the session without checking it, we may encounter kernel
crash.

Rename get_session to ceph_get_mds_session and make it global.

Signed-off-by: Xiubo Li <xiubli@xxxxxxxxxx>
---

Changed in V2:
- there has some conflict and rebase to upstream code.
Hi Xiubo,

There were two patches in the testing branch that weren't meant to be
there, one of them touching con_get().  I've just rebased and removed
them.  (5.5-rc2 is broken, so it is based on 5.5-rc2 plus the fix for
the breakage for now.)

It looks like neither v1 or v2 were based on testing though, so this is
more of an FYI.  The reason I'm still sending this message is that both
v1 and v2 appear to be whitespace corrupt and will need to be redone.

I am using the "testing" branch, so I will post it again later.

Thanks.


Thanks,

                 Ilya





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux