diff options
author | Eric Van Hensbergen <ericvh@kernel.org> | 2022-12-08 05:03:32 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@kernel.org> | 2023-02-24 01:39:36 +0300 |
commit | 344504e912ea49033d012dad9de3f68e20c07634 (patch) | |
tree | ba2a6c0b0d224fe032138de6f922544edc955154 /fs/9p/vfs_addr.c | |
parent | 2a03472262c05f965d7ba394ed35dc9867ba3095 (diff) | |
download | linux-344504e912ea49033d012dad9de3f68e20c07634.tar.xz |
fs/9p: Expand setup of writeback cache to all levels
If cache is enabled, make sure we are putting the right things
in place (mainly impacts mmap). This also sets us up for more
cache levels.
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Reviewed-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'fs/9p/vfs_addr.c')
-rw-r--r-- | fs/9p/vfs_addr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c index 97599edbc300..6f46d7e4c750 100644 --- a/fs/9p/vfs_addr.c +++ b/fs/9p/vfs_addr.c @@ -279,8 +279,6 @@ static int v9fs_write_begin(struct file *filp, struct address_space *mapping, p9_debug(P9_DEBUG_VFS, "filp %p, mapping %p\n", filp, mapping); - BUG_ON(!v9inode->writeback_fid); - /* Prefetch area to be written into the cache if we're caching this * file. We need to do this before we get a lock on the page in case * there's more than one writer competing for the same cache block. |