diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-27 12:00:42 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-27 12:00:42 -0500 |
commit | 568f4c9659a2225b0d29cf86feecbcf25c9045c8 (patch) | |
tree | 8ec0fee12313f88a195e0b90924f6b7633ba29f1 /fs/gfs2/inode.c | |
parent | 3a8fe9be6c9794e55ac2253eab91d42b28a9dab6 (diff) |
[GFS2] 80 Column audit of GFS2
Requested by:
Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 30ca82a1addf..51ecdb8503b0 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -1034,8 +1034,10 @@ static void init_dinode(struct gfs2_inode *dip, struct gfs2_glock *gl, | |||
1034 | gfs2_tune_get(sdp, gt_new_files_directio)) | 1034 | gfs2_tune_get(sdp, gt_new_files_directio)) |
1035 | di->di_flags |= cpu_to_be32(GFS2_DIF_DIRECTIO); | 1035 | di->di_flags |= cpu_to_be32(GFS2_DIF_DIRECTIO); |
1036 | } else if (S_ISDIR(mode)) { | 1036 | } else if (S_ISDIR(mode)) { |
1037 | di->di_flags |= cpu_to_be32(dip->i_di.di_flags & GFS2_DIF_INHERIT_DIRECTIO); | 1037 | di->di_flags |= cpu_to_be32(dip->i_di.di_flags & |
1038 | di->di_flags |= cpu_to_be32(dip->i_di.di_flags & GFS2_DIF_INHERIT_JDATA); | 1038 | GFS2_DIF_INHERIT_DIRECTIO); |
1039 | di->di_flags |= cpu_to_be32(dip->i_di.di_flags & | ||
1040 | GFS2_DIF_INHERIT_JDATA); | ||
1039 | } | 1041 | } |
1040 | 1042 | ||
1041 | di->__pad1 = 0; | 1043 | di->__pad1 = 0; |
@@ -1188,7 +1190,8 @@ static int link_dinode(struct gfs2_inode *dip, struct qstr *name, | |||
1188 | * Returns: An inode | 1190 | * Returns: An inode |
1189 | */ | 1191 | */ |
1190 | 1192 | ||
1191 | struct inode *gfs2_createi(struct gfs2_holder *ghs, struct qstr *name, unsigned int mode) | 1193 | struct inode *gfs2_createi(struct gfs2_holder *ghs, struct qstr *name, |
1194 | unsigned int mode) | ||
1192 | { | 1195 | { |
1193 | struct inode *inode; | 1196 | struct inode *inode; |
1194 | struct gfs2_inode *dip = get_gl2ip(ghs->gh_gl); | 1197 | struct gfs2_inode *dip = get_gl2ip(ghs->gh_gl); |