[XFS] Fix pagebuf slab initialization

Linux Kernel Mailing List <[email protected]> Tue, 21 Jun 2005 20:10:38 -0700
Newsgroups gmane.linux.kernel.commits.2-4
Message-ID <[email protected]>
tree 89b25ad33a5f87d52106455cef3088175609d7f5
parent 02de1f0abfc60aa4fead65eee4118d05667c93c3
author Christoph Hellwig <[email protected]> Tue, 21 Jun 2005 15:35:24 +1000
committer Nathan Scott <[email protected]> Tue, 21 Jun 2005 15:35:24 +1000

[XFS] Fix pagebuf slab initialization

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

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nathan Scott <[email protected]>

 fs/xfs/linux-2.6/xfs_buf.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -1956,7 +1956,7 @@ pagebuf_init(void)
 #endif
 
 	error = xfs_buf_daemons_start();
-	if (!error)
+	if (error)
 		goto out_free_buf_zone;
 
 	pagebuf_shake = kmem_shake_register(xfsbufd_wakeup);