From patchwork Tue Oct 15 13:32:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kara X-Patchwork-Id: 283633 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 624CA2C014B for ; Wed, 16 Oct 2013 00:32:43 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932439Ab3JONcm (ORCPT ); Tue, 15 Oct 2013 09:32:42 -0400 Received: from cantor2.suse.de ([195.135.220.15]:47260 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932401Ab3JONcl (ORCPT ); Tue, 15 Oct 2013 09:32:41 -0400 Received: from relay1.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 35CF9A591F; Tue, 15 Oct 2013 15:32:41 +0200 (CEST) Received: by quack.suse.cz (Postfix, from userid 1000) id 54D9E80E9F; Tue, 15 Oct 2013 15:32:40 +0200 (CEST) From: Jan Kara To: Ted Tso Cc: , Jan Kara Subject: [PATCH 2/2] ext4: Fixup kerndoc annotation of mpage_map_and_submit_extent() Date: Tue, 15 Oct 2013 15:32:29 +0200 Message-Id: <1381843949-31805-2-git-send-email-jack@suse.cz> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1381843949-31805-1-git-send-email-jack@suse.cz> References: <1381843949-31805-1-git-send-email-jack@suse.cz> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Document give_up_on_write argument of mpage_map_and_submit_extent(). Signed-off-by: Jan Kara --- fs/ext4/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index e274e9c1171f..e7e5b3d8f002 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2178,6 +2178,9 @@ static int mpage_map_one_extent(handle_t *handle, struct mpage_da_data *mpd) * * @handle - handle for journal operations * @mpd - extent to map + * @give_up_on_write - we set this to true iff there is a fatal error and there + * is no hope of writing the data. The caller should discard + * dirty pages to avoid infinite loops. * * The function maps extent starting at mpd->lblk of length mpd->len. If it is * delayed, blocks are allocated, if it is unwritten, we may need to convert