]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ubifs/misc.h
UBIFS: share the next_log_lnum helper
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 6 May 2011 14:52:32 +0000 (17:52 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 16 May 2011 11:12:12 +0000 (14:12 +0300)
commite11602ea3e43392904db7a579dc990062ebb7151
tree3930553264a369773cc1f66aa33b790d17589a40
parent91c66083fca36cdf496e927ef8bea19e6b1bbdce
UBIFS: share the next_log_lnum helper

We'll need to use the 'next_log_lnum()' helper function from log.c in the fixup
code, so let's move it to misc.h. IOW, this is a preparation to the following
free space fixup changes.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/log.c
fs/ubifs/misc.h