From patchwork Thu Jan 30 03:46:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zheng Liu X-Patchwork-Id: 315253 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 BEFCB2C00D5 for ; Thu, 30 Jan 2014 14:41:51 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751567AbaA3Dlm (ORCPT ); Wed, 29 Jan 2014 22:41:42 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:62477 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbaA3Dll (ORCPT ); Wed, 29 Jan 2014 22:41:41 -0500 Received: by mail-pb0-f44.google.com with SMTP id rq2so2599685pbb.31 for ; Wed, 29 Jan 2014 19:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MBWplQzEH4RKRQNwgt2IkurI/RnSlbuVVvo3CuSbnQQ=; b=VT8n67iBOPj1I6fX9ORx7iYToHt19R5hi4gr7/kT7xtV/Q6G/7Oz+fLjT8PQDABmVQ n/cOpsRSJKIMoB5+czVVVcUh7F4t4uFEEZuDjcjy4nsG//c9929RlWy6ye7ORn4JPqra HJGpWJzNytvm1I/ZHlkvCVzMN03mlME5SwCSF1EeZoVcGYfnAckeoxE5Peyj1WGYmXx1 hGp1W6jcgjSF7fMlkq78jwl5/ZDgQhON47TEncgapKEfnkeE3N6gR4cmT4+zpqy8GMam rvP3rAOtFDuuYw0yMOxj+/TjpRUPOb3hbpg5SIuFh6rraTDyYkDlxTj0A4lDipLVaM6q L6zA== X-Received: by 10.66.161.38 with SMTP id xp6mr11790631pab.145.1391053301171; Wed, 29 Jan 2014 19:41:41 -0800 (PST) Received: from alpha.taobao.ali.com ([182.92.253.3]) by mx.google.com with ESMTPSA id sq7sm12206448pbc.19.2014.01.29.19.41.39 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Jan 2014 19:41:40 -0800 (PST) From: Zheng Liu To: linux-ext4@vger.kernel.org Cc: Theodore Ts'o , Zheng Liu Subject: [PATCH] chattr: improve the description for 'j' option in manpage Date: Thu, 30 Jan 2014 11:46:16 +0800 Message-Id: <1391053576-31308-1-git-send-email-wenqing.lz@taobao.com> X-Mailer: git-send-email 1.7.9.7 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Zheng Liu Ext4 file system also supports to set/clear 'j' attribute, but it just say that this option is only useful for ext3 in manpage. This commit fixes it. Cc: Theodore Ts'o Signed-off-by: Zheng Liu Reviewed-by: Carlos Maiolino --- misc/chattr.1.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/chattr.1.in b/misc/chattr.1.in index 932ef4b..2a3640c 100644 --- a/misc/chattr.1.in +++ b/misc/chattr.1.in @@ -112,8 +112,8 @@ to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute. .PP A file with the `j' attribute has all of its data written to the ext3 -journal before being written to the file itself, if the filesystem is -mounted with the "data=ordered" or "data=writeback" options. When the +or ext4 journal before being written to the file itself, if the filesystem +is mounted with the "data=ordered" or "data=writeback" options. When the filesystem is mounted with the "data=journal" option all file data is already journalled and this attribute has no effect. Only the superuser or a process possessing the CAP_SYS_RESOURCE @@ -171,7 +171,7 @@ The `c', 's', and `u' attributes are not honored by the ext2, ext3, and ext4 filesystems as implemented in the current mainline Linux kernels. .PP -The `j' option is only useful if the filesystem is mounted as ext3. +The `j' option is only useful if the filesystem is mounted as ext3 or ext4. .PP The `D' option is only useful on Linux kernel 2.5.19 and later. .SH AVAILABILITY