Re: [PATCH v3 5/6] ocfs2: convert to use i_blockmask()

2023-03-09 Thread Al Viro
On Thu, Mar 09, 2023 at 11:21:26PM +0800, Yangtao Li wrote: > Use i_blockmask() to simplify code. BTW convert ocfs2_is_io_unaligned > to return bool type. > > Signed-off-by: Yangtao Li > --- > v3: > -none > fs/ocfs2/file.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff

[PATCH v3 5/6] ocfs2: convert to use i_blockmask()

2023-03-09 Thread Yangtao Li
Use i_blockmask() to simplify code. BTW convert ocfs2_is_io_unaligned to return bool type. Signed-off-by: Yangtao Li --- v3: -none fs/ocfs2/file.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index efb09de4343d..baefab3b12c9 100644