From patchwork Tue May 8 09:46:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guozhonghua X-Patchwork-Id: 10385877 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 2CFAC602C2 for ; Tue, 8 May 2018 09:49:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1391328D00 for ; Tue, 8 May 2018 09:49:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0814F28D1E; Tue, 8 May 2018 09:49:17 +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=-3.6 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from aserp2120.oracle.com (aserp2120.oracle.com [141.146.126.78]) (using TLSv1.2 with cipher AES256-SHA256 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DDE2428D00 for ; Tue, 8 May 2018 09:49:15 +0000 (UTC) Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w489fZVb165109; Tue, 8 May 2018 09:48:10 GMT Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2hs4k27sfs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 08 May 2018 09:48:10 +0000 Received: from oss.oracle.com (oss-old-reserved.oracle.com [137.254.22.2]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w489m7JL009825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 May 2018 09:48:07 GMT Received: from localhost ([127.0.0.1] helo=lb-oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1fFzE6-0002gN-S1; Tue, 08 May 2018 02:48:06 -0700 Received: from aserv0021.oracle.com ([141.146.126.233]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1fFzDL-0002fG-5n for ocfs2-devel@oss.oracle.com; Tue, 08 May 2018 02:47:19 -0700 Received: from userp2040.oracle.com (userp2040.oracle.com [156.151.31.90]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w489lIAr006780 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=FAIL) for ; Tue, 8 May 2018 09:47:18 GMT Received: from pps.filterd (userp2040.oracle.com [127.0.0.1]) by userp2040.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w489h4Sg039894 for ; Tue, 8 May 2018 09:47:18 GMT Received: from h3cmg01-ex.h3c.com (smtp.h3c.com [60.191.123.56]) by userp2040.oracle.com with ESMTP id 2hu8gs96bk-1 for ; Tue, 08 May 2018 09:47:17 +0000 Received: from BJHUB02-EX.srv.huawei-3com.com (unknown [10.63.20.170]) by h3cmg01-ex.h3c.com with smtp id 1a67_059f_37d7700d_f9c1_404c_839a_8055ca302ee1; Tue, 08 May 2018 17:47:04 +0800 Received: from H3CMLB12-EX.srv.huawei-3com.com ([fe80::10fe:abde:731b:fdde]) by BJHUB02-EX.srv.huawei-3com.com ([::1]) with mapi id 14.03.0248.002; Tue, 8 May 2018 17:46:57 +0800 From: Guozhonghua To: "Andrew Morton (akpm@linux-foundation.org)" Thread-Topic: [PATCH] ocfs2: Correct the offset comments of the structure ocfs2_dir_block_trailer. Thread-Index: AdPmsDvo24V8mKWOS1+oy0sMEKUCXQ== Date: Tue, 8 May 2018 09:46:55 +0000 Message-ID: <71604351584F6A4EBAE558C676F37CA401071C2456@H3CMLB12-EX.srv.huawei-3com.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.152.189.61] MIME-Version: 1.0 X-CLX-Shades: MLX X-CLX-Response: 1TFkXGxweEQpMehcaEQpZTRdnZnIRCllJFxpxGhAadwYbHh5xEhsQGHcGGBo GGhEKWV4XaG5mEQpJRhdFWEtJRk91WlhFTl9JXkNFRBl1T0sRCkNOF2lJEx1pdURIQ2QfS0hiHW x7QHtLSEZuXFhsfXNLG1hFEQpYXBcfBBoEGxkZB0tOT0xOHB8TBRsaBBsaGgQeEgQbEBseGh8aE QpeWRd5YFJIaBEKTVwXGB4dEQpMWhdpaGlCTV0RCk1OF2gRCkxGF2NrEQpDWhccGgQbExsEGxgZ BB8cEQpCXhcbEQpEXhcYEQpESRcZEQpCRhdnE21gG1tlQh9+fREKQlwXGhEKQkUXYVtyaEUbTnp oEksRCkJOF2RCfFpFREFiHWRQEQpCTBdie1tLbR5zbUEeQhEKQmwXbWBnfnwFY019eVwRCkJAF2 lbbWFFQGhwW1tsEQpCWBdifW95AU8YGXBwexEKTV4XGxEKWlgXGBEKcGgXYQFbBWtta0NIe30QG hEKcGgXa3xoeHx+c05pbU4QGhEKcGgXYAFJfUdtQklcRH4QGhEKcGgXYlxpWBltRB9QeWQQGhEK cGgXbxhiSUVoT3BnaR4QGhEKcGwXaF1GTmUFcmNJYW8QGhEKbX4XGxEKWE0XSxEg X-PDR: PASS X-Source-IP: 60.191.123.56 X-ServerName: smtp.h3c.com X-Proofpoint-SPF-Result: pass X-Proofpoint-SPF-Record: v=spf1 ip4:60.191.123.56 ip4:60.191.123.50 ip4:221.12.31.13 ip4:221.12.31.56 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8886 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=0 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=164 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=970 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805080095 X-Spam: Clean Cc: "'ocfs2-devel@oss.oracle.com' \(ocfs2-devel@oss.oracle.com\)" Subject: [Ocfs2-devel] [PATCH] ocfs2: Correct the offset comments of the structure ocfs2_dir_block_trailer. X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8886 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805080095 X-Virus-Scanned: ClamAV using ClamSMTP Correct the offset comments of the structure ocfs2_dir_block_trailer. Signed-off-by: guozhonghua Reviewed-by: Changwei Ge --- fs/ocfs2/ocfs2_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.7.9.5 diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h index 5bb4a89..14c60b0 100644 --- a/fs/ocfs2/ocfs2_fs.h +++ b/fs/ocfs2/ocfs2_fs.h @@ -808,10 +808,10 @@ struct ocfs2_dir_block_trailer { /*10*/ __u8 db_signature[8]; /* Signature for verification */ __le64 db_reserved2; __le64 db_free_next; /* Next block in list (unused) */ -/*20*/ __le64 db_blkno; /* Offset on disk, in blocks */ +/*28*/ __le64 db_blkno; /* Offset on disk, in blocks */ __le64 db_parent_dinode; /* dinode which owns me, in blocks */ -/*30*/ struct ocfs2_block_check db_check; /* Error checking */ +/*38*/ struct ocfs2_block_check db_check; /* Error checking */ /*40*/ };