summaryrefslogtreecommitdiff
path: root/include/net/raw.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-07-03 16:45:27 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-22 23:58:18 +0400
commit6eedc70150d55b5885800eb6664ea226dc2cb66f (patch)
treee0d0762e047d1fae5d7b6ead1214545bcb205f4e /include/net/raw.h
parent9e9ad5f408889db6038a59b38ede29ff1ba9ef2f (diff)
downloadlinux-3.10-6eedc70150d55b5885800eb6664ea226dc2cb66f.tar.gz
linux-3.10-6eedc70150d55b5885800eb6664ea226dc2cb66f.tar.bz2
linux-3.10-6eedc70150d55b5885800eb6664ea226dc2cb66f.zip
vfs: Move noop_backing_dev_info check from sync into writeback
In principle, a filesystem may want to have ->sync_fs() called during sync(1) although it does not have a bdi (i.e. s_bdi is set to noop_backing_dev_info). Only writeback code really needs bdi set to something reasonable. So move the checks where they are more logical. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/net/raw.h')
0 files changed, 0 insertions, 0 deletions