From fa5a0eb3b074ca89690da3e13cf44b6bab3f024c Mon Sep 17 00:00:00 2001 From: WeiWei Wang Date: Wed, 24 Jun 2015 16:55:15 -0700 Subject: [PATCH] ocfs2: remove OCFS2_IOCB_SEM lock type in direct io In ocfs2 direct read/write, OCFS2_IOCB_SEM lock type is used to protect inode->i_alloc_sem rw semaphore lock in the earlier kernel version. However, in the latest kernel, inode->i_alloc_sem rw semaphore lock is not used at all, so OCFS2_IOCB_SEM lock type needs to be removed. Signed-off-by: Weiwei Wang Cc: Mark Fasheh Cc: Joel Becker Reviewed-by: Junxiao Bi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed