fs/9p: Fix a datatype used with V9FS_DIRECT_IO
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 25 Apr 2023 06:47:27 +0000 (08:47 +0200)
committerEric Van Hensbergen <ericvh@kernel.org>
Mon, 10 Jul 2023 13:04:37 +0000 (13:04 +0000)
commit95f41d87810083d8b3dedcce46a4e356cf4a9673
treedaed3737c45e0f8333b83fbb3957df1ccf18af5f
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
fs/9p: Fix a datatype used with V9FS_DIRECT_IO

The commit in Fixes has introduced some "enum p9_session_flags" values
larger than a char.
Such values are stored in "v9fs_session_info->flags" which is a char only.

Turn it into an int so that the "enum p9_session_flags" values can fit in
it.

Fixes: 6deffc8924b5 ("fs/9p: Add new mount modes")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dominique Martinet <asmadeus@codewreck.org>
Reviewed-by: Christian Schoenebeck <linux_oss@crudebyte.com>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
fs/9p/v9fs.h