From patchwork Wed Sep 30 03:36:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 7292461 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DEFFA9F32B for ; Wed, 30 Sep 2015 03:37:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2302E2064D for ; Wed, 30 Sep 2015 03:37:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 14B522064B for ; Wed, 30 Sep 2015 03:37:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753040AbbI3DhR (ORCPT ); Tue, 29 Sep 2015 23:37:17 -0400 Received: from m12-12.163.com ([220.181.12.12]:50301 "EHLO m12-12.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752320AbbI3DhP (ORCPT ); Tue, 29 Sep 2015 23:37:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=QnKdfWaMNlfoDSgx1h +z6xz5Xo1bius0/mRV3rT2z38=; b=IbPhV/gE3LMXQpUXtcmz+5xn6UHxgYR4wN FnVyeJQUb16KsRC6Wpp5ZcrVIKb2qW33FtvwtzvhV7vGzhqgCHYEb4siN4J5GUSp EatfB1fT95uKJ/GVP8vZTmuoh0W60MmpKUv/69YH7jFszggg9scvi+udzr5rH1j/ x3PzMAMmg= Received: from localhost (unknown [218.17.162.133]) by smtp8 (Coremail) with SMTP id DMCowECZj0jfWAtWrjuKBg--.24S3; Wed, 30 Sep 2015 11:37:05 +0800 (CST) From: Geliang Tang To: "Yan, Zheng" , Sage Weil , Ilya Dryomov Cc: Geliang Tang , ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ceph: fix a comment typo Date: Tue, 29 Sep 2015 20:36:57 -0700 Message-Id: <4fb037c2ae2e494be58dc752483fb2f852a4cd70.1443612355.git.geliangtang@163.com> X-Mailer: git-send-email 1.9.1 X-CM-TRANSID: DMCowECZj0jfWAtWrjuKBg--.24S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrGF1xZr4ktFy8Ar48CF1rJFb_yoWxGFX_WF 12yr409FWIkFykJFWUG3yfXrsavw18CFs7Kr17tw4I934fJF1Fgr98Xr93AF13Wr47CFn8 J34DJry5CFyUCjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUbCzutUUUUU== X-Originating-IP: [218.17.162.133] X-CM-SenderInfo: 5jhoxtpqjwt0rj6rljoofrz/xtbBygKFmVO+e87pqQAAsM Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Just fix a typo in the code comment. Signed-off-by: Geliang Tang --- fs/ceph/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c index 834f9f3..a4766de 100644 --- a/fs/ceph/cache.c +++ b/fs/ceph/cache.c @@ -88,7 +88,7 @@ static uint16_t ceph_fscache_inode_get_key(const void *cookie_netfs_data, const struct ceph_inode_info* ci = cookie_netfs_data; uint16_t klen; - /* use ceph virtual inode (id + snaphot) */ + /* use ceph virtual inode (id + snapshot) */ klen = sizeof(ci->i_vino); if (klen > maxbuf) return 0;