linux_dsm_epyc7002/fs/ceph
Yan, Zheng 717e6f2893 ceph: avoid panic in create_session_open_msg() if utsname() returns NULL
utsname() can return NULL while process is exiting. Kernel releases
file locks during process exits. We send request to mds when releasing
file lock. So it's possible that we open mds session while process is
exiting. utsname() is called in create_session_open_msg().

Link: http://tracker.ceph.com/issues/21275
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
[idryomov@gmail.com: drop utsname.h include from mds_client.c]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-19 21:04:52 +02:00
..
acl.c ceph: unify inode i_ctime update 2017-06-14 19:37:23 +02:00
addr.c ceph: wait on writeback after writing snapshot data 2017-09-06 19:57:00 +02:00
cache.c The highlights include: 2017-09-12 20:03:53 -07:00
cache.h ceph: improve fscache revalidation 2016-06-01 10:31:50 +02:00
caps.c ceph: stop on-going cached readdir if mds revokes FILE_SHARED cap 2017-09-06 19:57:00 +02:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: adjust 36 checks for NULL pointers 2017-09-06 19:56:52 +02:00
dir.c ceph: send LSSNAP request to auth mds of directory inode 2017-09-06 19:56:46 +02:00
export.c ceph: check i_nlink while converting a file handle to dentry 2017-06-14 19:32:43 +02:00
file.c ceph: adjust 36 checks for NULL pointers 2017-09-06 19:56:52 +02:00
inode.c ceph: handle race between vmtruncate and queuing cap snap 2017-09-06 19:56:53 +02:00
ioctl.c ceph: fix bogus endianness change in ceph_ioctl_set_layout 2017-02-20 12:16:07 +01:00
ioctl.h ceph: fully initialize new layout 2012-05-16 14:28:27 -05:00
Kconfig ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
locks.c fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks 2017-07-16 10:28:22 -04:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: avoid panic in create_session_open_msg() if utsname() returns NULL 2017-09-19 21:04:52 +02:00
mds_client.h ceph: avoid panic in create_session_open_msg() if utsname() returns NULL 2017-09-19 21:04:52 +02:00
mdsmap.c ceph: adjust 36 checks for NULL pointers 2017-09-06 19:56:52 +02:00
snap.c ceph: queue cap snap only when snap realm's context changes 2017-09-06 19:56:54 +02:00
strings.c ceph: handle CEPH_SESSION_REJECT message 2016-10-03 16:13:50 +02:00
super.c ceph: adjust 36 checks for NULL pointers 2017-09-06 19:56:52 +02:00
super.h ceph: validate correctness of some mount options 2017-09-06 19:56:42 +02:00
xattr.c ceph: adjust 36 checks for NULL pointers 2017-09-06 19:56:52 +02:00