]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: remove useless check for the folio
authorXiubo Li <xiubli@redhat.com>
Tue, 5 Jul 2022 02:40:23 +0000 (10:40 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 2 Aug 2022 22:54:13 +0000 (00:54 +0200)
commitcc9e81b2029fbda5943a929288eb165a77518684
tree2d0d3696a538d76b60a1799b3f9e4b3d651e2b8c
parent0e2a91849ef33dd9310a3cbce28e1606b117501f
ceph: remove useless check for the folio

The netfs_write_begin() won't set the folio if the return value
is non-zero.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c