projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459f6ed
)
fix fs/sysv s_dirt handling
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 27 May 2010 13:04:07 +0000
(09:04 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 28 May 2010 02:16:05 +0000
(22:16 -0400)
got broken on ->sync_fs() conversion a year ago, nobody noticed...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/sysv/inode.c
patch
|
blob
|
history
diff --git
a/fs/sysv/inode.c
b/fs/sysv/inode.c
index
4573734
..
d4a5380
100644
(file)
--- a/
fs/sysv/inode.c
+++ b/
fs/sysv/inode.c
@@
-43,6
+43,7
@@
static int sysv_sync_fs(struct super_block *sb, int wait)
* then attach current time stamp.
* But if the filesystem was marked clean, keep it clean.
*/
+ sb->s_dirt = 0;
old_time = fs32_to_cpu(sbi, *sbi->s_sb_time);
if (sbi->s_type == FSTYPE_SYSV4) {
if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38 - old_time))