linux-stable/fs/9p
Eric Van Hensbergen 00c6ee3852 fs/9p: remove unnecessary and overrestrictive check
commit 75b396821c upstream.

This eliminates a check for shared that was overrestrictive and
prevented read-only mmaps when writeback caches weren't enabled.

Cc: stable@vger.kernel.org
Fixes: 1543b4c507 ("fs/9p: remove writeback fid and fix per-file modes")
Reported-by: Robert Schwebel <r.schwebel@pengutronix.de>
Closes: https://lore.kernel.org/v9fs/ZK25XZ%2BGpR3KHIB%2F@pengutronix.de
Reviewed-by: Dominique Martinet <asmadeus@codewreck.org>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-03 10:26:11 +02:00
..
acl.c fs: port inode_owner_or_capable() to mnt_idmap 2023-01-19 09:24:29 +01:00
acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
cache.c netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context 2022-06-09 13:55:00 -07:00
cache.h fs/9p: Rework cache modes and add new options to Documentation 2023-04-09 21:41:21 +00:00
fid.c fs/9p: remove writeback fid and fix per-file modes 2023-03-27 02:33:48 +00:00
fid.h fs/9p: Rework cache modes and add new options to Documentation 2023-04-09 21:41:21 +00:00
Kconfig 9p: Remove INET dependency 2023-05-04 21:46:57 +01:00
Makefile
v9fs.c fs/9p: Rework cache modes and add new options to Documentation 2023-04-09 21:41:21 +00:00
v9fs.h fs/9p: Fix a datatype used with V9FS_DIRECT_IO 2023-08-03 10:25:54 +02:00
v9fs_vfs.h fs/9p: Consolidate file operations and add readahead and writeback 2023-03-27 02:33:39 +00:00
vfs_addr.c Including fixes from netfilter. 2023-05-05 19:12:01 -07:00
vfs_dentry.c 9p: Remove INET dependency 2023-05-04 21:46:57 +01:00
vfs_dir.c 9p: fix ignored return value in v9fs_dir_release 2023-08-03 10:26:11 +02:00
vfs_file.c fs/9p: remove unnecessary and overrestrictive check 2023-08-03 10:26:11 +02:00
vfs_inode.c Including fixes from netfilter. 2023-05-05 19:12:01 -07:00
vfs_inode_dotl.c Including fixes from netfilter. 2023-05-05 19:12:01 -07:00
vfs_super.c Including fixes from netfilter. 2023-05-05 19:12:01 -07:00
xattr.c v6.4/vfs.acl 2023-04-24 13:35:23 -07:00
xattr.h 9p: use stub posix acl handlers 2022-10-20 10:13:32 +02:00