瀏覽代碼

[XFS] Fix pagebuf slab initialization

SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:192756a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Christoph Hellwig 20 年之前
父節點
當前提交
cf9937c6c6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/xfs/linux-2.6/xfs_buf.c

+ 1 - 1
fs/xfs/linux-2.6/xfs_buf.c

@@ -1956,7 +1956,7 @@ pagebuf_init(void)
 #endif
 #endif
 
 
 	error = xfs_buf_daemons_start();
 	error = xfs_buf_daemons_start();
-	if (!error)
+	if (error)
 		goto out_free_buf_zone;
 		goto out_free_buf_zone;
 
 
 	pagebuf_shake = kmem_shake_register(xfsbufd_wakeup);
 	pagebuf_shake = kmem_shake_register(xfsbufd_wakeup);