diff options
Diffstat (limited to 'fs/gfs2/ops_file.c')
-rw-r--r-- | fs/gfs2/ops_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/ops_file.c b/fs/gfs2/ops_file.c index f5ddd496d3ec..9dcf72aa9f66 100644 --- a/fs/gfs2/ops_file.c +++ b/fs/gfs2/ops_file.c | |||
@@ -79,7 +79,7 @@ struct filldir_reg { | |||
79 | * any other part of this. Its use is purely as a flag so that we | 79 | * any other part of this. Its use is purely as a flag so that we |
80 | * know (in readpage()) whether or not do to locking. | 80 | * know (in readpage()) whether or not do to locking. |
81 | */ | 81 | */ |
82 | struct file gfs2_internal_file_sentinal = { | 82 | struct file gfs2_internal_file_sentinel = { |
83 | .f_flags = O_NOATIME|O_RDONLY, | 83 | .f_flags = O_NOATIME|O_RDONLY, |
84 | }; | 84 | }; |
85 | 85 | ||
@@ -112,7 +112,7 @@ int gfs2_internal_read(struct gfs2_inode *ip, struct file_ra_state *ra_state, | |||
112 | desc.count = size; | 112 | desc.count = size; |
113 | desc.error = 0; | 113 | desc.error = 0; |
114 | do_generic_mapping_read(inode->i_mapping, ra_state, | 114 | do_generic_mapping_read(inode->i_mapping, ra_state, |
115 | &gfs2_internal_file_sentinal, pos, &desc, | 115 | &gfs2_internal_file_sentinel, pos, &desc, |
116 | gfs2_read_actor); | 116 | gfs2_read_actor); |
117 | return desc.written ? desc.written : desc.error; | 117 | return desc.written ? desc.written : desc.error; |
118 | } | 118 | } |