summaryrefslogtreecommitdiff
path: root/include/uapi/linux/virtio_gpu.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-05-05 22:20:29 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 13:59:11 +0200
commitd2e11d152824deeeaa0d70eb8906a65261838ce2 (patch)
treeb19ed77728e2745de3889cea575a5c8fbe6be74b /include/uapi/linux/virtio_gpu.h
parenta27bc2b4a005dfe74be757900c5ef1d5604391ae (diff)
ext4: improve error recovery code paths in __ext4_remount()
commit 4c0b4818b1f636bc96359f7817a2d8bab6370162 upstream. If there are failures while changing the mount options in __ext4_remount(), we need to restore the old mount options. This commit fixes two problem. The first is there is a chance that we will free the old quota file names before a potential failure leading to a use-after-free. The second problem addressed in this commit is if there is a failed read/write to read-only transition, if the quota has already been suspended, we need to renable quota handling. Cc: stable@kernel.org Link: https://lore.kernel.org/r/20230506142419.984260-2-tytso@mit.edu Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/virtio_gpu.h')
0 files changed, 0 insertions, 0 deletions