f2fs: use spinlock rather than mutex for better speed
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 10 Jan 2014 10:09:14 +0000 (18:09 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 14 Jan 2014 09:12:05 +0000 (18:12 +0900)
With the 2 previous changes, all the long time operations are moved out
of the protection region, so here we can use spinlock rather than mutex
(orphan_inode_mutex) for lower overhead.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h

Simple merge
diff --cc fs/f2fs/f2fs.h
Simple merge