From: Jan Kara Subject: [PATCH 0/2] Fix sys_sync() bug and slightly cleanup the code Date: Wed, 22 Apr 2009 17:56:19 +0200 Message-ID: <1240415781-17834-1-git-send-email-jack@suse.cz> Cc: linux-fsdevel@vger.kernel.org, Andrew Morton , Jens Axboe To: LKML Return-path: Received: from cantor2.suse.de ([195.135.220.15]:46795 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751771AbZDVP4X (ORCPT ); Wed, 22 Apr 2009 11:56:23 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, this series of two patches fixes a bug in sys_sync() which could result in not all data being safely on disk after this function returns. It also fixes the same issue in fsync_super() which leads to assertion failure in JBD with Jens's per-BDI writeback patches. The first patch fixes those two bugs, the second patch just simplifies the code afterwards. Honza