diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-02-03 21:34:07 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-02-03 21:34:07 +0300 |
commit | 7b753a909f426f2789d9db6f357c3d59180a9354 (patch) | |
tree | 712547ba186db1dd39667081563779f2b912485c /include | |
parent | a0880c33794ba417687822482ffb0d3b797f0a04 (diff) | |
parent | a68e564adcaa69b0930809fb64d9d5f7d9c32ba9 (diff) | |
download | linux-7b753a909f426f2789d9db6f357c3d59180a9354.tar.xz |
Merge tag 'ceph-for-6.2-rc7' of https://github.com/ceph/ceph-client
Pull ceph fix from Ilya Dryomov:
"A safeguard to prevent the kernel client from further damaging the
filesystem after running into a case of an invalid snap trace.
The root cause of this metadata corruption is still being investigated
but it appears to be stemming from the MDS. As such, this is the best
we can do for now"
* tag 'ceph-for-6.2-rc7' of https://github.com/ceph/ceph-client:
ceph: blocklist the kclient when receiving corrupted snap trace
ceph: move mount state enum to super.h
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ceph/libceph.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/ceph/libceph.h b/include/linux/ceph/libceph.h index 00af2c98da75..4497d0a6772c 100644 --- a/include/linux/ceph/libceph.h +++ b/include/linux/ceph/libceph.h @@ -99,16 +99,6 @@ struct ceph_options { #define CEPH_AUTH_NAME_DEFAULT "guest" -/* mount state */ -enum { - CEPH_MOUNT_MOUNTING, - CEPH_MOUNT_MOUNTED, - CEPH_MOUNT_UNMOUNTING, - CEPH_MOUNT_UNMOUNTED, - CEPH_MOUNT_SHUTDOWN, - CEPH_MOUNT_RECOVER, -}; - static inline unsigned long ceph_timeout_jiffies(unsigned long timeout) { return timeout ?: MAX_SCHEDULE_TIMEOUT; |