linux/fs/ceph
Yan, Zheng d95e674c01 ceph: clear inode pointer when snap realm gets dropped by its inode
snap realm and corresponding inode have pointers to each other.
The two pointer should get clear at the same time. Otherwise,
snap realm's pointer may reference freed inode.

Cc: stable@vger.kernel.org # 4.17+
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Luis Henriques <lhenriques@suse.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-01-21 14:52:41 +01:00
..
acl.c libceph: introduce ceph_pagelist_alloc() 2018-10-22 10:28:21 +02:00
addr.c ceph: use vmf_error() in ceph_filemap_fault() 2019-01-07 22:48:48 +01:00
cache.c ceph: use timespec64 for inode timestamp 2018-08-02 21:26:12 +02:00
cache.h ceph: improve fscache revalidation 2016-06-01 10:31:50 +02:00
caps.c ceph: clear inode pointer when snap realm gets dropped by its inode 2019-01-21 14:52:41 +01:00
ceph_frag.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debugfs.c libceph, ceph: change permission for readonly debugfs entries 2018-04-02 10:12:45 +02:00
dir.c ceph: use timespec64 for inode timestamp 2018-08-02 21:26:12 +02:00
export.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
file.c ceph: add destination file data sync before doing any remote copy 2018-11-08 17:50:37 +01:00
inode.c ceph: cleanup splice_dentry() 2018-12-26 15:56:03 +01:00
ioctl.c libceph, ceph: move ceph_calc_file_object_mapping() to striper.c 2018-04-02 10:12:43 +02:00
ioctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig fs/*/Kconfig: drop links to 404-compliant http://acl.bestbits.at 2018-01-01 12:45:37 -07:00
locks.c ceph: add newline to end of debug message format 2018-04-02 10:12:44 +02:00
Makefile ceph: quota: add initial infrastructure to support cephfs quotas 2018-04-02 11:17:51 +02:00
mds_client.c ceph: don't encode inode pathes into reconnect message 2018-12-26 16:08:36 +01:00
mds_client.h ceph: update wanted caps after resuming stale session 2018-12-26 16:08:36 +01:00
mdsmap.c ceph: remove redundant assignment 2018-12-26 15:56:04 +01:00
quota.c ceph: quota: fix null pointer dereference in quota check 2018-11-08 17:51:11 +01:00
snap.c ceph: use timespec64 for inode timestamp 2018-08-02 21:26:12 +02:00
strings.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
super.c libceph: allow setting abort_on_full for rbd 2019-01-07 22:47:48 +01:00
super.h mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
xattr.c libceph: introduce ceph_pagelist_alloc() 2018-10-22 10:28:21 +02:00