summaryrefslogtreecommitdiff
path: root/include/linux/fscrypt.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-07-18 14:46:52 -0700
committerEric Biggers <ebiggers@kernel.org>2026-07-20 10:39:26 -0700
commit23395358450b6ff94d09395b2e386dd76841d7ba (patch)
treebf706980071405346c1baa19ab56a4a1d8d3ad60 /include/linux/fscrypt.h
parenta31b8fee3f7f15dad295bff842b7ca402cf712ef (diff)
downloadlinux-next-23395358450b6ff94d09395b2e386dd76841d7ba.tar.gz
linux-next-23395358450b6ff94d09395b2e386dd76841d7ba.zip
fscrypt: Remove unused function fscrypt_finalize_bounce_page()
fscrypt_finalize_bounce_page() is no longer called, so remove it. Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260718214655.63186-4-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/linux/fscrypt.h')
-rw-r--r--include/linux/fscrypt.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/fscrypt.h b/include/linux/fscrypt.h
index e9da70ce3e86..28f2108e29f3 100644
--- a/include/linux/fscrypt.h
+++ b/include/linux/fscrypt.h
@@ -1059,15 +1059,4 @@ static inline int fscrypt_encrypt_symlink(struct inode *inode,
return 0;
}
-/* If *pagep is a bounce page, free it and set *pagep to the pagecache page */
-static inline void fscrypt_finalize_bounce_page(struct page **pagep)
-{
- struct page *page = *pagep;
-
- if (fscrypt_is_bounce_page(page)) {
- *pagep = fscrypt_pagecache_page(page);
- fscrypt_free_bounce_page(page);
- }
-}
-
#endif /* _LINUX_FSCRYPT_H */