mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
ceph: make fsc->mount_state an int
This field is an unsigned long currently, which is a bit of a waste on most arches since this just holds an enum. Make it (signed) int instead. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
dc167e38a0
commit
aa5c791053
@ -106,7 +106,7 @@ struct ceph_fs_client {
|
||||
struct ceph_mount_options *mount_options;
|
||||
struct ceph_client *client;
|
||||
|
||||
unsigned long mount_state;
|
||||
int mount_state;
|
||||
|
||||
unsigned long last_auto_reconnect;
|
||||
bool blocklisted;
|
||||
|
Loading…
Reference in New Issue
Block a user