From: Jeff Layton Date: Tue, 6 Oct 2020 12:38:20 +0000 (-0400) Subject: ceph: make fsc->mount_state an int X-Git-Tag: v5.11-rc1~82^2~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa5c791053c7deecded06f6525fc6e917cb2061b;p=thirdparty%2Fkernel%2Flinux.git 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 482473e4cce1a..f9e35e81c9af0 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;