From: Cheng Renquan Date: Fri, 26 Mar 2010 09:40:33 +0000 (+0800) Subject: ceph: use ceph_sb_to_client instead of ceph_client X-Git-Tag: v2.6.35-rc1~419^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=640ef79d27c81b7a3265a344ec1d25644dd463ad;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed