aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fsync.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 13:51:19 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 08:32:55 -0400
commitb3d9b7a3c752dc4b6976a4ff7b8298887a5b734d (patch)
treece0d4c84328890dd63c9c4cb3e281b6b3476f85f /fs/ext4/fsync.c
parent9f713878f22e0b2d34d62df0ca55f65166375634 (diff)
vfs: switch i_dentry/d_alias to hlist
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4/fsync.c')
-rw-r--r--fs/ext4/fsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c
index 4359a4d30069..2a1dcea4f12e 100644
--- a/fs/ext4/fsync.c
+++ b/fs/ext4/fsync.c
@@ -225,7 +225,7 @@ int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
225 225
226 if (!journal) { 226 if (!journal) {
227 ret = __sync_inode(inode, datasync); 227 ret = __sync_inode(inode, datasync);
228 if (!ret && !list_empty(&inode->i_dentry)) 228 if (!ret && !hlist_empty(&inode->i_dentry))
229 ret = ext4_sync_parent(inode); 229 ret = ext4_sync_parent(inode);
230 goto out; 230 goto out;
231 } 231 }