git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-block
[pandora-kernel.git]
/
fs
/
sync.c
diff --git
a/fs/sync.c
b/fs/sync.c
index
92ca208
..
c38ec16
100644
(file)
--- a/
fs/sync.c
+++ b/
fs/sync.c
@@
-34,7
+34,7
@@
static int __sync_filesystem(struct super_block *sb, int wait)
* This should be safe, as we require bdi backing to actually
* write out data in the first place
*/
* This should be safe, as we require bdi backing to actually
* write out data in the first place
*/
- if (
!sb->s_bdi ||
sb->s_bdi == &noop_backing_dev_info)
+ if (sb->s_bdi == &noop_backing_dev_info)
return 0;
if (sb->s_qcop && sb->s_qcop->quota_sync)
return 0;
if (sb->s_qcop && sb->s_qcop->quota_sync)
@@
-80,7
+80,7
@@
EXPORT_SYMBOL_GPL(sync_filesystem);
static void sync_one_sb(struct super_block *sb, void *arg)
{
static void sync_one_sb(struct super_block *sb, void *arg)
{
- if (!(sb->s_flags & MS_RDONLY)
&& sb->s_bdi
)
+ if (!(sb->s_flags & MS_RDONLY))
__sync_filesystem(sb, *(int *)arg);
}
/*
__sync_filesystem(sb, *(int *)arg);
}
/*