fs/9p: Fix bit operation logic error
authorEric Van Hensbergen <ericvh@kernel.org>
Wed, 26 Apr 2023 16:18:49 +0000 (16:18 +0000)
committerEric Van Hensbergen <ericvh@kernel.org>
Fri, 28 Apr 2023 16:59:26 +0000 (16:59 +0000)
commit21e26d5e54ab7cfe6b488fd27d4d70956d07e03b
treefda636c1f4fcf61a8f31ea81684c3fb25b69deee
parent4eb3117888a923f6b9b1ad2dd093641c49a63ae5
fs/9p: Fix bit operation logic error

This re-introduces a fix that somehow got dropped during rebase of the
current series in for-next.  When writeback is enabled, opens
are forced to support both read and write operations but with the
logic error other flags may be dropped unintentionaly.

Reported-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
fs/9p/vfs_inode.c
fs/9p/vfs_inode_dotl.c