]> git.baikalelectronics.ru Git - kernel.git/commit
Ocfs2/move_extents: Avoid doing division in extent moving.
authorTristan Ye <tristan.ye@oracle.com>
Fri, 27 May 2011 07:19:56 +0000 (15:19 +0800)
committerTristan Ye <tristan.ye@oracle.com>
Fri, 27 May 2011 06:52:53 +0000 (14:52 +0800)
commitf0362ef59da9b2c29943064830e8af3e25ea1afc
tree328109905fc58424d1942db52b22537fd46f2fc7
parent53f7dd540ba2428c22edd01eecfa93c2c85eb505
Ocfs2/move_extents: Avoid doing division in extent moving.

It's not wise enough to do a 64bits division anywhere in kernside, replace it
with a decent helper or proper shifts.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
fs/ocfs2/move_extents.c