aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/fatent.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/fatent.c')
-rw-r--r--fs/fat/fatent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index 48b2336692f9..bac10de678cc 100644
--- a/fs/fat/fatent.c
+++ b/fs/fat/fatent.c
@@ -392,7 +392,7 @@ static int fat_mirror_bhs(struct super_block *sb, struct buffer_head **bhs,
392 memcpy(c_bh->b_data, bhs[n]->b_data, sb->s_blocksize); 392 memcpy(c_bh->b_data, bhs[n]->b_data, sb->s_blocksize);
393 set_buffer_uptodate(c_bh); 393 set_buffer_uptodate(c_bh);
394 mark_buffer_dirty_inode(c_bh, sbi->fat_inode); 394 mark_buffer_dirty_inode(c_bh, sbi->fat_inode);
395 if (sb->s_flags & MS_SYNCHRONOUS) 395 if (sb->s_flags & SB_SYNCHRONOUS)
396 err = sync_dirty_buffer(c_bh); 396 err = sync_dirty_buffer(c_bh);
397 brelse(c_bh); 397 brelse(c_bh);
398 if (err) 398 if (err)
@@ -597,7 +597,7 @@ int fat_free_clusters(struct inode *inode, int cluster)
597 } 597 }
598 598
599 if (nr_bhs + fatent.nr_bhs > MAX_BUF_PER_PAGE) { 599 if (nr_bhs + fatent.nr_bhs > MAX_BUF_PER_PAGE) {
600 if (sb->s_flags & MS_SYNCHRONOUS) { 600 if (sb->s_flags & SB_SYNCHRONOUS) {
601 err = fat_sync_bhs(bhs, nr_bhs); 601 err = fat_sync_bhs(bhs, nr_bhs);
602 if (err) 602 if (err)
603 goto error; 603 goto error;
@@ -612,7 +612,7 @@ int fat_free_clusters(struct inode *inode, int cluster)
612 fat_collect_bhs(bhs, &nr_bhs, &fatent); 612 fat_collect_bhs(bhs, &nr_bhs, &fatent);
613 } while (cluster != FAT_ENT_EOF); 613 } while (cluster != FAT_ENT_EOF);
614 614
615 if (sb->s_flags & MS_SYNCHRONOUS) { 615 if (sb->s_flags & SB_SYNCHRONOUS) {
616 err = fat_sync_bhs(bhs, nr_bhs); 616 err = fat_sync_bhs(bhs, nr_bhs);
617 if (err) 617 if (err)
618 goto error; 618 goto error;