diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-31 15:07:05 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:33:54 -0500 |
commit | 539e5d6b7ae8612c0393fe940d2da5b591318d3d (patch) | |
tree | 3ae6afd9c47a9a08e87877988d1c47bc060d71bf /fs/gfs2/ops_file.c | |
parent | 9c9ab3d5414653bfe5e5b9f4dfdaab0c6ab17196 (diff) |
[GFS2] Change argument of gfs2_dinode_out
Everywhere this was called, a struct gfs2_inode was available,
but despite that, it was always called with a struct gfs2_dinode
as an argument. By making this change it paves the way to start
eliminating fields duplicated between the kernel's struct inode
and the struct gfs2_dinode.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r-- | fs/gfs2/ops_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index 2fc8868e065c..7ea417573903 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -336,7 +336,7 @@ static int do_gfs2_set_flags(struct file *filp, u32 reqflags, u32 mask) | |||
336 | goto out_trans_end; | 336 | goto out_trans_end; |
337 | gfs2_trans_add_bh(ip->i_gl, bh, 1); | 337 | gfs2_trans_add_bh(ip->i_gl, bh, 1); |
338 | ip->i_di.di_flags = new_flags; | 338 | ip->i_di.di_flags = new_flags; |
339 | gfs2_dinode_out(&ip->i_di, bh->b_data); | 339 | gfs2_dinode_out(ip, bh->b_data); |
340 | brelse(bh); | 340 | brelse(bh); |
341 | out_trans_end: | 341 | out_trans_end: |
342 | gfs2_trans_end(sdp); | 342 | gfs2_trans_end(sdp); |