mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ceph: use a folio in ceph_get_caps()
Convert the inline data page cache check to filemap_get_folio(), which returns an ERR_PTR instead of NULL when no folio is present. Saves two calls to compound_head(). Signed-off-by: Tal Zussman <tz2294@columbia.edu> Reviewed-by: Alex Markuze <amarkuze@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
00a0d7f377
commit
4351961717
1 changed files with 5 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue