Explorar o código

[XFS] Fix build failure after enabling CONFIG_XFS_DEBUG

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Stephen Rothwell %!s(int64=17) %!d(string=hai) anos
pai
achega
adaa693b84
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fs/xfs/linux-2.6/xfs_buf.c

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

@@ -886,7 +886,7 @@ int
 xfs_buf_lock_value(
 	xfs_buf_t		*bp)
 {
-	return atomic_read(&bp->b_sema.count);
+	return bp->b_sema.count;
 }
 #endif