summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-22 12:56:13 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-09-22 12:56:13 -0700
commit6110e02b97377a2903853faf3ecaff0e742fbe93 (patch)
tree44fca61193f773e84c6c38ba8d9712d151677d8b /fs/xfs/xfs_log_recover.c
parent36a740974129d7301054fa810adf22025896be78 (diff)
parent1bc5858d0d40e07697b5eda47ed8628b8a934235 (diff)
downloadop-kernel-dev-6110e02b97377a2903853faf3ecaff0e742fbe93.zip
op-kernel-dev-6110e02b97377a2903853faf3ecaff0e742fbe93.tar.gz
Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6
* 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6: [XFS] fix valid but harmless sparse warning [XFS] fix filestreams on 32-bit boxes
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index dacb197..7174991 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -1920,9 +1920,9 @@ xlog_recover_do_reg_buffer(
stale_buf = 1;
break;
}
- if (be16_to_cpu(dip->di_core.di_mode))
+ if (dip->di_core.di_mode)
mode_count++;
- if (be16_to_cpu(dip->di_core.di_gen))
+ if (dip->di_core.di_gen)
gen_count++;
}
OpenPOWER on IntegriCloud