[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230310030821.66090-3-frank.li@vivo.com>
Date: Fri, 10 Mar 2023 11:08:21 +0800
From: Yangtao Li <frank.li@...o.com>
To: almaz.alexandrovich@...agon-software.com, jack@...e.com,
dushistov@...l.ru, brauner@...nel.org, ntfs3@...ts.linux.dev
Cc: linux-kernel@...r.kernel.org, Yangtao Li <frank.li@...o.com>
Subject: [PATCH 3/3] ufs: use wrapper i_blocksize() in ufs_get_locked_page()
Convert to use i_blocksize() for readability.
Signed-off-by: Yangtao Li <frank.li@...o.com>
---
fs/ufs/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ufs/util.c b/fs/ufs/util.c
index 08ddf41eaaad..f9c1009ba98a 100644
--- a/fs/ufs/util.c
+++ b/fs/ufs/util.c
@@ -266,6 +266,6 @@ struct page *ufs_get_locked_page(struct address_space *mapping,
}
}
if (!page_has_buffers(page))
- create_empty_buffers(page, 1 << inode->i_blkbits, 0);
+ create_empty_buffers(page, i_blocksize(inode), 0);
return page;
}
--
2.25.1
Powered by blists - more mailing lists