]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: split out ocfs2_prepare_orphan_dir() into locking and prep functions
authorMark Fasheh <mfasheh@suse.com>
Fri, 13 Aug 2010 22:15:18 +0000 (15:15 -0700)
committerTao Ma <tao.ma@oracle.com>
Wed, 8 Sep 2010 06:26:00 +0000 (14:26 +0800)
commit7f93a0a8da62ac26c68f2d7f493a66a81ee27c0a
tree59a35711f0d21ef5198b6721e97a622b3e5f384d
parent28a78a00d66e34a12cccbd7908990a3f70cbb2aa
ocfs2: split out ocfs2_prepare_orphan_dir() into locking and prep functions

We do this because ocfs2_create_inode_in_orphan() wants to order locking of
the orphan dir with respect to locking of the inode allocator *before*
making any changes to the directory.

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