ceph: use ceph_sb_to_client instead of ceph_client
authorCheng Renquan <crquan@gmail.com>
Fri, 26 Mar 2010 09:40:33 +0000 (17:40 +0800)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:17 +0000 (15:25 -0700)
commit640ef79d27c81b7a3265a344ec1d25644dd463ad
treef5632a0b2a2f6cef7c6f3a513bbb6020d6ac694a
parent2d06eeb877581a7f53209af1582c5f66c799f0bd
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>
fs/ceph/addr.c
fs/ceph/caps.c
fs/ceph/dir.c
fs/ceph/export.c
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/ioctl.c
fs/ceph/snap.c
fs/ceph/super.c
fs/ceph/super.h
fs/ceph/xattr.c