diff options
Diffstat (limited to 'fs/gfs2/ops_address.c')
-rw-r--r-- | fs/gfs2/ops_address.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c index ae9c46e7539..96988ccf208 100644 --- a/fs/gfs2/ops_address.c +++ b/fs/gfs2/ops_address.c | |||
@@ -262,7 +262,7 @@ static int gfs2_readpage(struct file *file, struct page *page) | |||
262 | int error; | 262 | int error; |
263 | int do_unlock = 0; | 263 | int do_unlock = 0; |
264 | 264 | ||
265 | if (likely(file != &gfs2_internal_file_sentinal)) { | 265 | if (likely(file != &gfs2_internal_file_sentinel)) { |
266 | if (file) { | 266 | if (file) { |
267 | struct gfs2_file *gf = file->private_data; | 267 | struct gfs2_file *gf = file->private_data; |
268 | if (test_bit(GFF_EXLOCK, &gf->f_flags)) | 268 | if (test_bit(GFF_EXLOCK, &gf->f_flags)) |
@@ -285,7 +285,7 @@ skip_lock: | |||
285 | if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags))) | 285 | if (unlikely(test_bit(SDF_SHUTDOWN, &sdp->sd_flags))) |
286 | error = -EIO; | 286 | error = -EIO; |
287 | 287 | ||
288 | if (file != &gfs2_internal_file_sentinal) { | 288 | if (file != &gfs2_internal_file_sentinel) { |
289 | gfs2_glock_dq_m(1, &gh); | 289 | gfs2_glock_dq_m(1, &gh); |
290 | gfs2_holder_uninit(&gh); | 290 | gfs2_holder_uninit(&gh); |
291 | } | 291 | } |
@@ -324,7 +324,7 @@ static int gfs2_readpages(struct file *file, struct address_space *mapping, | |||
324 | int ret; | 324 | int ret; |
325 | int do_unlock = 0; | 325 | int do_unlock = 0; |
326 | 326 | ||
327 | if (likely(file != &gfs2_internal_file_sentinal)) { | 327 | if (likely(file != &gfs2_internal_file_sentinel)) { |
328 | if (file) { | 328 | if (file) { |
329 | struct gfs2_file *gf = file->private_data; | 329 | struct gfs2_file *gf = file->private_data; |
330 | if (test_bit(GFF_EXLOCK, &gf->f_flags)) | 330 | if (test_bit(GFF_EXLOCK, &gf->f_flags)) |