]> 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)
commit42627cbc8bcee14261f0a6a303bfdbb065e6e913
tree328109905fc58424d1942db52b22537fd46f2fc7
parent692b2e6a6a153b7ab193e0e411c6fa3774d88720
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