Please pull from 'upstream-linus' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus
to receive the following updates:
fs/configfs/dir.c | 17 ++++++--------
fs/ocfs2/cluster/netdebug.c | 26 +++++++++++-----------
fs/ocfs2/cluster/tcp.c | 44 ++++++++++++++++++++++++++++++++------
fs/ocfs2/cluster/tcp_internal.h | 32 ----------------------------
fs/ocfs2/dir.c | 11 +++++++--
fs/ocfs2/journal.c | 23 ++++++++++++--------
fs/ocfs2/stackglue.c | 7 +++--
7 files changed, 83 insertions(+), 77 deletions(-)
Adrian Bunk (1):
ocfs2/cluster/tcp.c: make some functions static
Alexander Beregalov (1):
ocfs2/cluster/netdebug.c: fix warning
Joel Becker (1):
ocfs2: Increment the reference count of an already-active stack.
Louis Rilling (1):
configfs: Consolidate locking around configfs_detach_prep() in configfs_rmdir()
Mark Fasheh (2):
ocfs2: Fix sleep-with-spinlock recovery regression
ocfs2: correctly set i_blocks after inline dir gets expanded
Tao Ma (1):
ocfs2: Jump to correct label in ocfs2_expand_inline_dir()
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c
index 7a8db78..8e93341 100644
--- a/fs/configfs/dir.c
+++ b/fs/configfs/dir.c
@@ -1311,16 +1311,18 @@ static int configfs_rmdir(struct inode *dir, struct dentry *dentry)
* Ensure that no racing symlink() will make detach_prep() fail while
* the new link is temporarily attached
*/
- mutex_lock(&configfs_symlink_mutex);
- spin_lock(&configfs_dirent_lock);
do {
struct mutex *wait_mutex;
+ mutex_lock(&configfs_symlink_mutex);
+ spin_lock(&configfs_dirent_lock);
ret = configfs_detach_prep(dentry, &wait_mutex);
- if (ret) {
+ if (ret)
...