JFS: commit_mutex cleanups
[deliverable/linux.git] / fs / jfs / jfs_txnmgr.c
index ac3d66948e8ceae440e77d944bd2667f9a9e8e76..49618dd94f9a2f597cd034595bb45e2a4ce57f2c 100644 (file)
@@ -2944,7 +2944,7 @@ int jfs_sync(void *arg)
                                 * Inode is being freed
                                 */
                                list_del_init(&jfs_ip->anon_inode_list);
-                       } else if (! !mutex_trylock(&jfs_ip->commit_mutex)) {
+                       } else if (mutex_trylock(&jfs_ip->commit_mutex)) {
                                /*
                                 * inode will be removed from anonymous list
                                 * when it is committed
This page took 0.024375 seconds and 5 git commands to generate.