diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-02-01 04:36:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-22 14:59:45 +0300 |
commit | eb253f83d403a4d5f9a6160fe95a56257d358601 (patch) | |
tree | 0661ade0363275049ff2e26fa717b56f9e947620 /fs/ceph | |
parent | b9f21e40135ab8d18bec9e8e0c8396a9fdb715f2 (diff) | |
download | linux-eb253f83d403a4d5f9a6160fe95a56257d358601.tar.xz |
ceph: move mount state enum to super.h
[ Upstream commit b38b17b6a01ca4e738af097a1529910646ef4270 ]
These flags are only used in ceph filesystem in fs/ceph, so just
move it to the place it should be.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/super.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index ae4126f63410..735279b2ceb5 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -100,6 +100,16 @@ struct ceph_mount_options { char *mon_addr; }; +/* mount state */ +enum { + CEPH_MOUNT_MOUNTING, + CEPH_MOUNT_MOUNTED, + CEPH_MOUNT_UNMOUNTING, + CEPH_MOUNT_UNMOUNTED, + CEPH_MOUNT_SHUTDOWN, + CEPH_MOUNT_RECOVER, +}; + #define CEPH_ASYNC_CREATE_CONFLICT_BITS 8 struct ceph_fs_client { |