Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 640ef79d authored by Cheng Renquan's avatar Cheng Renquan Committed by Sage Weil
Browse files

ceph: use ceph_sb_to_client instead of ceph_client



ceph_sb_to_client and ceph_client are really identical, we need to dump
one; while function ceph_client is confusing with "struct ceph_client",
ceph_sb_to_client's definition is more clear; so we'd better switch all
call to ceph_sb_to_client.

  -static inline struct ceph_client *ceph_client(struct super_block *sb)
  -{
  -	return sb->s_fs_info;
  -}

Signed-off-by: default avatarCheng Renquan <crquan@gmail.com>
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 2d06eeb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment