Thread (27 messages) 27 messages, 4 authors, 2021-07-28

Re: [PATCH v8 06/18] btrfs: rework lzo_decompress_bio() to make it subpage compatible

From: David Sterba <hidden>
Date: 2021-07-28 13:29:31

On Mon, Jul 26, 2021 at 02:34:55PM +0800, Qu Wenruo wrote:
+		/* Check if the sector has enough space for a segment header */
+		sector_bytes_left = sectorsize - cur_in % sectorsize;
For clarity and ease of reading, please put ( ) around the expressions
with %:

		sector_bytes_left = sectorsize - (cur_in % sectorsize);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help