From patchwork Thu Aug 10 03:23:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 9892699 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4D07A60236 for ; Thu, 10 Aug 2017 03:23:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CDC128A13 for ; Thu, 10 Aug 2017 03:23:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41ABD28AB1; Thu, 10 Aug 2017 03:23:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A082928A13 for ; Thu, 10 Aug 2017 03:23:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752469AbdHJDXs (ORCPT ); Wed, 9 Aug 2017 23:23:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:60491 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752457AbdHJDXs (ORCPT ); Wed, 9 Aug 2017 23:23:48 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B0610AD6A; Thu, 10 Aug 2017 03:23:46 +0000 (UTC) From: NeilBrown To: "Michael Kerrisk \(man-pages\)" Date: Thu, 10 Aug 2017 13:23:38 +1000 Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH manpages] umount.2: restore mention of data loss with MNT_FORCE In-Reply-To: <508034ae-e254-d0bd-5ca9-c3f1959f8fe5@gmail.com> References: <87mv7asj5l.fsf@notabene.neil.brown.name> <508034ae-e254-d0bd-5ca9-c3f1959f8fe5@gmail.com> Message-ID: <8760dwrtqd.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Recent patch to description of MNT_FORCE incorrectly dropped the mention of possible data loss. Restore it. Signed-off-by: NeilBrown --- Sorry, I thought I had put the mention of data loss back it, but clearly not. NeilBrown man2/umount.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man2/umount.2 b/man2/umount.2 index ccd1d07afe88..01f42710ee9d 100644 --- a/man2/umount.2 +++ b/man2/umount.2 @@ -63,9 +63,10 @@ controlling the behavior of the operation: .BR MNT_FORCE " (since Linux 2.1.116)" Ask the filesystem to abort pending requests before attempting the unmount. This may allow the unmount to complete without waiting -for an inaccessible server. If, after aborting requests, some -processes still have active references to the filesystem, the -unmount will still fail. In Linux 4.12, only the filesystems +for an inaccessible server, but could cause data loss. If, after +aborting requests, some processes still have active references to the +filesystem, the unmount will still fail. In Linux 4.12, only the +filesystems 9p (2.6.16), ceph (2.6.34), cifs (2.6.12),