]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Ocfs2: Make ocfs2_find_cpos_for_left_leaf() public.
authorTristan Ye <tristan.ye@oracle.com>
Tue, 11 May 2010 09:54:44 +0000 (17:54 +0800)
committerJoel Becker <joel.becker@oracle.com>
Tue, 18 May 2010 19:28:13 +0000 (12:28 -0700)
commitee149a7c6cbaee0e3a1a7d9e9f92711228ef5236
treeeb91fa9c12d9d44a3a314f75c5acd4ce1b7328a5
parente8aec068ecb1957630816cfa2c150c6b3ddd1790
Ocfs2: Make ocfs2_find_cpos_for_left_leaf() public.

The original idea to pull ocfs2_find_cpos_for_left_leaf() out of
alloc.c is to benefit punching-holes optimization patch, it however,
can also be referred by other funcs in the future who want to do the
same job.

Signed-off-by: Tristan Ye <tristan.ye@oracle.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/alloc.c
fs/ocfs2/alloc.h