projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel/fork: always deny write access to current MM exe_file
[linux-2.6-microblaze.git]
/
fs
/
sync.c
diff --git
a/fs/sync.c
b/fs/sync.c
index
c6f6f5b
..
1373a61
100644
(file)
--- a/
fs/sync.c
+++ b/
fs/sync.c
@@
-76,7
+76,8
@@
static void sync_inodes_one_sb(struct super_block *sb, void *arg)
static void sync_fs_one_sb(struct super_block *sb, void *arg)
{
- if (!sb_rdonly(sb) && sb->s_op->sync_fs)
+ if (!sb_rdonly(sb) && !(sb->s_iflags & SB_I_SKIP_SYNC) &&
+ sb->s_op->sync_fs)
sb->s_op->sync_fs(sb, *(int *)arg);
}