xfs
[Top] [All Lists]

xfs_syncsub() question

To: linux-xfs@xxxxxxxxxxx
Subject: xfs_syncsub() question
From: ASANO Masahiro <masano@xxxxxxxxxxxxxx>
Date: Mon, 28 Oct 2002 11:47:09 +0900 (JST)
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi,

I have a question.
Why don't we sync the last xfs_inode in xfs_syncsub()?
I am wondering if the condition check is wrong... (see below)

--
Masano

--- linux/fs/xfs/xfs_vfsops.c   Thu Oct 24 07:46:17 2002
+++ linux/fs/xfs/xfs_vfsops.c.new       Mon Oct 28 11:29:21 2002
@@ -1433,7 +1433,7 @@
                ASSERT(ipointer_in == B_FALSE);
                ip = ip->i_mnext;
 
-       } while (ip->i_mnext != mp->m_inodes);
+       } while (ip != mp->m_inodes);
 
        XFS_MOUNT_IUNLOCK(mp);
 


<Prev in Thread] Current Thread [Next in Thread>