summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_sync.c
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/xfs_sync.c
parentd0f9e8fb4cc6dd5d07c72eeecc2f332b6e85e221 (diff)
downloadop-kernel-dev-adab0f67d1cdaf468bbc311bce4d61f17626a536.zip
op-kernel-dev-adab0f67d1cdaf468bbc311bce4d61f17626a536.tar.gz
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 'fs/xfs/linux-2.6/xfs_sync.c')
-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 f54e8ee..5cc158e 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.");
OpenPOWER on IntegriCloud