aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorChandra Seetharaman <sekharan@us.ibm.com>2011-06-29 22:10:14 +0000
committerAlex Elder <aelder@sgi.com>2011-07-20 18:35:03 -0500
commitadab0f67d1cdaf468bbc311bce4d61f17626a536 (patch)
tree2df945816c38584beee131d1b93006123fe851aa /fs/xfs/linux-2.6
parentxfs: remove the dead XFS_DABUF_DEBUG code (diff)
downloadlinux-dev-adab0f67d1cdaf468bbc311bce4d61f17626a536.tar.xz
linux-dev-adab0f67d1cdaf468bbc311bce4d61f17626a536.zip
xfs: Remove the second parameter to xfs_sb_count()
Remove the second parameter to xfs_sb_count() since all callers of the function set them. Also, fix the header comment regarding it being called periodically. Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to '')
-rw-r--r--fs/xfs/linux-2.6/xfs_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_sync.c b/fs/xfs/linux-2.6/xfs_sync.c
index f54e8ee1ed62..5cc158e52d4c 100644
--- a/fs/xfs/linux-2.6/xfs_sync.c
+++ b/fs/xfs/linux-2.6/xfs_sync.c
@@ -434,7 +434,7 @@ xfs_quiesce_attr(
WARN_ON(atomic_read(&mp->m_active_trans) != 0);
/* Push the superblock and write an unmount record */
- error = xfs_log_sbcount(mp, 1);
+ error = xfs_log_sbcount(mp);
if (error)
xfs_warn(mp, "xfs_attr_quiesce: failed to log sb changes. "
"Frozen image may not be consistent.");