summaryrefslogtreecommitdiffstats
path: root/fs/ceph/msgpool.c
diff options
context:
space:
mode:
authorCheng Renquan2010-03-26 10:40:33 +0100
committerSage Weil2010-05-18 00:25:17 +0200
commit640ef79d27c81b7a3265a344ec1d25644dd463ad (patch)
treef5632a0b2a2f6cef7c6f3a513bbb6020d6ac694a /fs/ceph/msgpool.c
parentceph: handle kzalloc() failure (diff)
downloadkernel-qcow2-linux-640ef79d27c81b7a3265a344ec1d25644dd463ad.tar.gz
kernel-qcow2-linux-640ef79d27c81b7a3265a344ec1d25644dd463ad.tar.xz
kernel-qcow2-linux-640ef79d27c81b7a3265a344ec1d25644dd463ad.zip
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: Cheng Renquan <crquan@gmail.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/msgpool.c')
0 files changed, 0 insertions, 0 deletions