diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-24 14:19:23 -0500 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 13:32:08 -0500 |
commit | 12b4629a9fb80fecaebadc217b13b8776ed8dbef (patch) | |
tree | d4b02104183be9d6e20634812949059f4dcd70d7 /fs/ceph/super.c | |
parent | e37180c0f2f0c5b21e9295d5b19874ff4a659be1 (diff) |
libceph: all features fields must be u64
In preparation for ceph_features.h update, change all features fields
from unsigned int/u32 to u64. (ceph.git has ~40 feature bits at this
point.)
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r-- | fs/ceph/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index c6740e43a351..2df963f1cf5a 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -490,10 +490,10 @@ static struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt, | |||
490 | struct ceph_options *opt) | 490 | struct ceph_options *opt) |
491 | { | 491 | { |
492 | struct ceph_fs_client *fsc; | 492 | struct ceph_fs_client *fsc; |
493 | const unsigned supported_features = | 493 | const u64 supported_features = |
494 | CEPH_FEATURE_FLOCK | | 494 | CEPH_FEATURE_FLOCK | |
495 | CEPH_FEATURE_DIRLAYOUTHASH; | 495 | CEPH_FEATURE_DIRLAYOUTHASH; |
496 | const unsigned required_features = 0; | 496 | const u64 required_features = 0; |
497 | int page_count; | 497 | int page_count; |
498 | size_t size; | 498 | size_t size; |
499 | int err = -ENOMEM; | 499 | int err = -ENOMEM; |