Skip to content
Commit 592b0c50 authored by Eric Van Hensbergen's avatar Eric Van Hensbergen Committed by Greg Kroah-Hartman
Browse files

fs/9p: remove unnecessary invalidate_inode_pages2

commit 350cd9b9 upstream.

There was an invalidate_inode_pages2 added to readonly mmap path
that is unnecessary since that path is only entered when writeback
cache is disabled on mount.

Cc: stable@vger.kernel.org
Fixes: 1543b4c5

 ("fs/9p: remove writeback fid and fix per-file modes")
Reviewed-by: default avatarChristian Schoenebeck <linux_oss@crudebyte.com>
Signed-off-by: default avatarEric Van Hensbergen <ericvh@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cd27c7f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment