aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r--fs/gfs2/ops_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 317d497f8f88..5f5fc3c42907 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -59,7 +59,7 @@ static int gfs2_write_inode(struct inode *inode, int sync)
59 if (current->flags & PF_MEMALLOC) 59 if (current->flags & PF_MEMALLOC)
60 return 0; 60 return 0;
61 if (sync) 61 if (sync)
62 gfs2_log_flush(ip->i_gl->gl_sbd, ip->i_gl); 62 gfs2_log_flush(GFS2_SB(inode), ip->i_gl);
63 } 63 }
64 64
65 return 0; 65 return 0;