]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Add ac_alloc_slot in ocfs2_alloc_context
authorTao Ma <tao.ma@oracle.com>
Mon, 3 Mar 2008 09:12:30 +0000 (17:12 +0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:10 +0000 (08:56 -0700)
commita4a4891164d4f6f383cc17e7c90828a7ca6a1146
treea0a881ae3f1910d5f4e4aa9824f93781616ef99f
parentffda89a3bf3b968bdc268584c6bc1da5c173cf12
ocfs2: Add ac_alloc_slot in ocfs2_alloc_context

In inode stealing, we no longer restrict the allocation to
happen in the local node. So it is neccessary for us to add
a new member in ocfs2_alloc_context to indicate which slot
we are using for allocation. We also modify the process of
local alloc so that this member can be used there also.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/localalloc.c
fs/ocfs2/suballoc.c
fs/ocfs2/suballoc.h