]> www.infradead.org Git - users/hch/xfs.git/commitdiff
iomap: drop an obsolete comment in iomap_dio_bio_iter
authorChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 08:25:28 +0000 (09:25 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 5 Nov 2024 08:26:38 +0000 (09:26 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/iomap/direct-io.c

index f637aa0706a3125e62bc057b5809b593b270c8de..536ce7e0613bb0e5af766dcc8d68cbbc537dcb45 100644 (file)
@@ -377,11 +377,6 @@ static loff_t iomap_dio_bio_iter(const struct iomap_iter *iter,
                        goto out;
        }
 
-       /*
-        * Set the operation flags early so that bio_iov_iter_get_pages
-        * can set up the page vector appropriately for a ZONE_APPEND
-        * operation.
-        */
        bio_opf = iomap_dio_bio_opflags(dio, iomap, use_fua);
 
        nr_pages = bio_iov_vecs_to_alloc(dio->submit.iter, BIO_MAX_VECS);