ceph: make ->sync_fs not wait if wait==0
authorSage Weil <sage@newdream.net>
Fri, 30 Jul 2010 16:38:13 +0000 (09:38 -0700)
committerSage Weil <sage@newdream.net>
Mon, 2 Aug 2010 03:11:42 +0000 (20:11 -0700)
commit2d9c98ae97c18e8b1c363af6a2e51d5d9e8c5e04
tree694895b1c66c7a1f382f8e7b6bc8c1b53165eab1
parentb8cd07e78eaa49857e882f4199309f86aeb80bbd
ceph: make ->sync_fs not wait if wait==0

The ->sync_fs() super op only needs to wait if wait is true.  Otherwise,
just get some dirty cap writeback started.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.c