From: Jan Kara Date: Mon, 27 Apr 2009 14:43:49 +0000 (+0200) Subject: vfs: Call ->sync_fs() even if s_dirt is 0 (version 4) X-Git-Tag: v2.6.31-rc1~375^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfe881255c74800147523b59c85328a1a826ba21;p=pandora-kernel.git vfs: Call ->sync_fs() even if s_dirt is 0 (version 4) sync_filesystems() has a condition that if wait == 0 and s_dirt == 0, then ->sync_fs() isn't called. This does not really make much sence since s_dirt is generally used by a filesystem to mean that ->write_super() needs to be called. But ->sync_fs() does different things. I even suspect that some filesystems (btrfs?) sets s_dirt just to fool this logic. Signed-off-by: Jan Kara Signed-off-by: Al Viro --- Reading git-diff-tree failed