aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-20 14:58:38 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-27 09:16:16 +0900
commit0ff153a2f1fa7ef31d6d9bc9ce6c3815dede55e6 (patch)
treef9bf94683b0c9f19ff3606e94eceae5e6b60b7d9 /fs/f2fs/f2fs.h
parent6ead114232f786e3ef7a034c8617f2a4df8e5226 (diff)
downloadkernel_goldelico_gta04-0ff153a2f1fa7ef31d6d9bc9ce6c3815dede55e6.zip
kernel_goldelico_gta04-0ff153a2f1fa7ef31d6d9bc9ce6c3815dede55e6.tar.gz
kernel_goldelico_gta04-0ff153a2f1fa7ef31d6d9bc9ce6c3815dede55e6.tar.bz2
f2fs: do not skip writing file meta during fsync
This patch removes data_version check flow during the fsync call. The original purpose for the use of data_version was to avoid writng inode pages redundantly by the fsync calls repeatedly. However, when user can modify file meta and then call fsync, we should not skip fsync procedure. So, let's remove this condition check and hope that user triggers in right manner. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 109e12d..380e2b3 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -159,7 +159,6 @@ struct f2fs_inode_info {
/* Use below internally in f2fs*/
unsigned long flags; /* use to pass per-file flags */
- unsigned long long data_version;/* latest version of data for fsync */
atomic_t dirty_dents; /* # of dirty dentry pages */
f2fs_hash_t chash; /* hash value of given file name */
unsigned int clevel; /* maximum level of given file name */