aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/misc.c')
-rw-r--r--fs/fat/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/misc.c b/fs/fat/misc.c
index 63785a150290..0f55f5cb732f 100644
--- a/fs/fat/misc.c
+++ b/fs/fat/misc.c
@@ -121,8 +121,8 @@ int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster)
121 MSDOS_I(inode)->i_start = new_dclus; 121 MSDOS_I(inode)->i_start = new_dclus;
122 MSDOS_I(inode)->i_logstart = new_dclus; 122 MSDOS_I(inode)->i_logstart = new_dclus;
123 /* 123 /*
124 * Since generic_osync_inode() synchronize later if 124 * Since generic_write_sync() synchronizes regular files later,
125 * this is not directory, we don't here. 125 * we sync here only directories.
126 */ 126 */
127 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) { 127 if (S_ISDIR(inode->i_mode) && IS_DIRSYNC(inode)) {
128 ret = fat_sync_inode(inode); 128 ret = fat_sync_inode(inode);