From: Jeff Layton Date: Tue, 6 Oct 2020 12:38:20 +0000 (-0400) Subject: ceph: make fsc->mount_state an int X-Git-Tag: microblaze-v5.12~85^2~57 X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=commitdiff_plain;h=aa5c791053c7deecded06f6525fc6e917cb2061b 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 Reviewed-by: Xiubo Li Reviewed-by: "Yan, Zheng" Signed-off-by: Ilya Dryomov --- diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 482473e4cce1..f9e35e81c9af 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -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;