ocfs2: Hold ip_lock when set/clear flags for indexed dir.
authorTao Ma <boyu.mt@taobao.com>
Wed, 15 Dec 2010 08:30:00 +0000 (16:30 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 16 Dec 2010 08:36:15 +0000 (00:36 -0800)
When we set/clear the dyn_features for an inode we hold the ip_lock.
So do it when we set/clear OCFS2_INDEXED_DIR_FL also.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dir.c

diff --cc fs/ocfs2/dir.c
Simple merge