Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23094
b: refs/heads/master
c: 8d280b9
h: refs/heads/master
v: v3
  • Loading branch information
David Chinner authored and Nathan Scott committed Mar 14, 2006
1 parent 6a0e940 commit 397113f
Show file tree
Hide file tree
Showing 6 changed files with 587 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f4cbecd7e5ee6390fecd6032dc04ca8c9805dc9
refs/heads/master: 8d280b98cfe3c0b69c37d355218975c1c0279bb0
5 changes: 5 additions & 0 deletions trunk/fs/xfs/linux-2.6/xfs_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@
*/
#undef HAVE_REFCACHE /* reference cache not needed for NFS in 2.6 */
#define HAVE_SENDFILE /* sendfile(2) exists in 2.6, but not in 2.4 */
#if CONFIG_SMP
#define HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */
#else
#undef HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */
#endif

/*
* State flag for unwritten extent buffers.
Expand Down
1 change: 1 addition & 0 deletions trunk/fs/xfs/xfs_fsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ xfs_fs_counts(
{
unsigned long s;

xfs_icsb_sync_counters_lazy(mp);
s = XFS_SB_LOCK(mp);
cnt->freedata = mp->m_sb.sb_fdblocks;
cnt->freertx = mp->m_sb.sb_frextents;
Expand Down
Loading

0 comments on commit 397113f

Please sign in to comment.