]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ocfs2: split out inode alloc code from ocfs2_mknod_locked
authorMark Fasheh <mfasheh@suse.com>
Fri, 13 Aug 2010 22:15:15 +0000 (15:15 -0700)
committerTao Ma <tao.ma@oracle.com>
Wed, 8 Sep 2010 06:25:58 +0000 (14:25 +0800)
commit021960cab320ae3cc4e9aba9cca42f9f5ce785f3
treef8fde4ef51bae0f7c9979a586b0c8ccab67a5f0b
parent81c8c82b5a39f9127e8b239e9b406a6c3a41b228
ocfs2: split out inode alloc code from ocfs2_mknod_locked

Do this by splitting the bulk of the function away from the inode allocation
code at the very tom of ocfs2_mknod_locked(). Existing callers don't need to
change and won't see any difference. The new function created,
__ocfs2_mknod_locked() will be used shortly.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Tao Ma <tao.ma@oracle.com>
fs/ocfs2/namei.c