summaryrefslogtreecommitdiff
path: root/fs/ceph/inode.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2021-04-05 19:19:35 +0300
committerIlya Dryomov <idryomov@gmail.com>2021-04-28 00:52:23 +0300
commite72968e15b297a51dcefe93a95e875dcefe6c4aa (patch)
tree026a5bad827793090e0dc66f0fdd28dc6310f530 /fs/ceph/inode.c
parent1775c7ddacfcea29051c67409087578f8f4d751b (diff)
downloadlinux-e72968e15b297a51dcefe93a95e875dcefe6c4aa.tar.xz
ceph: drop pinned_page parameter from ceph_get_caps
All of the existing callers that don't set this to NULL just drop the page reference at some arbitrary point later in processing. There's no point in keeping a page reference that we don't use, so just drop the reference immediately after checking the Uptodate flag. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/inode.c')
0 files changed, 0 insertions, 0 deletions