From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="vHkMkRom" Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2697C92; Mon, 20 Nov 2023 12:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3tg08O0N/xa4tm5KWlE1PNyfoNc/ZkXyYLUnylHjAQU=; b=vHkMkRomdMQPn56X43PZdq/l4J 7jiwzi8GVr9bQuhD8+ndaA9VZDq/axrDeZ0YRmpPOjFcxJ890sA5H/ApMDMA+zDpqiFe0bp3X34t4 K9AAtghz0M2gf88nG8/H2aCYj+kkImYvsnz7cPlJ9XX8OAN6okGHZ6Yhv1MByByVxDCVYnBK2BMT0 no6rIt3agFIAErR6nRH+OCmj2hzwIWT7mtV93OY3f7ugRwjueE9Z7K3X1ewf7Loync99qawsdt0wr UukuwTnSS0MEJw81XU+L5Umdzhf47cRrIXjiP349b0kRcRg+egzLQ9i3TRk5YohFurph8aSszE145 QW5aMT/A==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1r5ARF-004wNG-54; Mon, 20 Nov 2023 20:00:09 +0000 Date: Mon, 20 Nov 2023 20:00:09 +0000 From: Matthew Wilcox To: "Ritesh Harjani (IBM)" Cc: linux-ext4@vger.kernel.org, Jan Kara , linux-fsdevel@vger.kernel.org Subject: Re: [RFC 2/3] ext2: Convert ext2 regular file buffered I/O to use iomap Message-ID: References: Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Nov 21, 2023 at 12:35:20AM +0530, Ritesh Harjani (IBM) wrote: > +static void ext2_file_readahead(struct readahead_control *rac) > +{ > + return iomap_readahead(rac, &ext2_iomap_ops); We generally prefer to omit the 'return' when the function returns void (it's a GCC extension to not warn about it, so not actually a bug) This all looks marvellously simple. Good job!