Centos-kernel-stream-9/fs/romfs
Ming Lei ca8eaf1249 fs,block: yield devices early
JIRA: https://issues.redhat.com/browse/RHEL-29564
Conflicts: drop change on f2fs, bcachefs and reiserfs; context
	difference on ext4 & fs/super.c change.

commit 22650a99821dda3d05f1c334ea90330b4982de56
Author: Christian Brauner <brauner@kernel.org>
Date:   Tue Mar 26 13:47:22 2024 +0100

    fs,block: yield devices early

    Currently a device is only really released once the umount returns to
    userspace due to how file closing works. That ultimately could cause
    an old umount assumption to be violated that concurrent umount and mount
    don't fail. So an exclusively held device with a temporary holder should
    be yielded before the filesystem is gone. Add a helper that allows
    callers to do that. This also allows us to remove the two holder ops
    that Linus wasn't excited about.

    Link: https://lore.kernel.org/r/20240326-vfs-bdev-end_holder-v1-1-20af85202918@kernel.org
    Fixes: f3a608827d1f ("bdev: open block device as files") # mainline only
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Jan Kara <jack@suse.cz>
    Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Christian Brauner <brauner@kernel.org>

Signed-off-by: Ming Lei <ming.lei@redhat.com>
2024-04-17 10:39:09 +08:00
..
Kconfig fs/Kconfig: Fix compile error for romfs 2024-04-17 10:33:41 +08:00
Makefile
internal.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mmap-nommu.c mm/nommu: factor out check for NOMMU shared mappings into is_nommu_shared_mapping() 2023-11-02 15:31:06 -04:00
storage.c romfs: fix uninitialized memory leak in romfs_dev_read() 2020-08-21 09:52:53 -07:00
super.c fs,block: yield devices early 2024-04-17 10:39:09 +08:00