diff options
author | Christoph Hellwig <hch@lst.de> | 2023-08-11 12:08:28 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-21 14:35:32 +0200 |
commit | e127b9bccdb04e5fc4444431de37309a68aedafa (patch) | |
tree | 55d59252edc1c1ff33d917b0f865abcd0f0c67c0 /fs/internal.h | |
parent | fs: remove get_super (diff) | |
download | linux-e127b9bccdb04e5fc4444431de37309a68aedafa.tar.xz linux-e127b9bccdb04e5fc4444431de37309a68aedafa.zip |
fs: simplify invalidate_inodes
kill_dirty has always been true for a long time, so hard code it and
remove the unused return value.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Message-Id: <20230811100828.1897174-18-hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/internal.h')
-rw-r--r-- | fs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h index f7a3dc111026..b94290f61714 100644 --- a/fs/internal.h +++ b/fs/internal.h @@ -201,7 +201,7 @@ void lock_two_inodes(struct inode *inode1, struct inode *inode2, * fs-writeback.c */ extern long get_nr_dirty_inodes(void); -extern int invalidate_inodes(struct super_block *, bool); +void invalidate_inodes(struct super_block *sb); /* * dcache.c |