1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
linux/fs/ceph
Dan Carpenter 708c87168b ceph: fix off by one bugs in unsafe_request_wait()
The "> max" tests should be ">= max" to prevent an out of bounds access
on the next lines.

Fixes: e1a4541ec0 ("ceph: flush the mdlog before waiting on unsafe reqs")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-09-21 17:39:20 +02:00
..
acl.c vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
addr.c We have: 2021-09-08 15:50:32 -07:00
cache.c
cache.h ceph: remove some defunct forward declarations 2021-09-02 22:49:16 +02:00
caps.c ceph: fix off by one bugs in unsafe_request_wait() 2021-09-21 17:39:20 +02:00
ceph_frag.c
debugfs.c ceph: add IO size metrics support 2021-06-29 00:15:51 +02:00
dir.c ceph: take reference to req->r_parent at point of assignment 2021-06-29 00:15:52 +02:00
export.c ceph: take reference to req->r_parent at point of assignment 2021-06-29 00:15:52 +02:00
file.c We have: 2021-09-08 15:50:32 -07:00
inode.c ceph: add ceph_change_snap_realm() helper 2021-09-02 22:49:17 +02:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig
locks.c fs: remove mandatory file locking support 2021-08-23 06:15:36 -04:00
Makefile
mds_client.c ceph: drop the mdsc_get_session/put_session dout messages 2021-09-02 22:49:17 +02:00
mds_client.h ceph: flush mdlog before umounting 2021-09-02 22:49:16 +02:00
mdsmap.c ceph: reconnect to the export targets on new mdsmaps 2021-09-02 22:49:17 +02:00
metric.c ceph: cancel delayed work instead of flushing on mdsc teardown 2021-09-02 22:49:17 +02:00
metric.h ceph: add IO size metrics support 2021-06-29 00:15:51 +02:00
quota.c ceph: eliminate ceph_async_iput() 2021-06-29 00:15:52 +02:00
snap.c ceph: add ceph_change_snap_realm() helper 2021-09-02 22:49:17 +02:00
strings.c ceph: flush mdlog before umounting 2021-09-02 22:49:16 +02:00
super.c
super.h We have: 2021-09-08 15:50:32 -07:00
util.c
xattr.c ceph: add a new vxattr to return auth mds for an inode 2021-09-02 22:49:16 +02:00