diff mbox

ceph: fix a comment typo

Message ID 4fb037c2ae2e494be58dc752483fb2f852a4cd70.1443612355.git.geliangtang@163.com (mailing list archive)
State New, archived
Headers show

Commit Message

Geliang Tang Sept. 30, 2015, 3:36 a.m. UTC
Just fix a typo in the code comment.

Signed-off-by: Geliang Tang <geliangtang@163.com>
---
 fs/ceph/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yan, Zheng Sept. 30, 2015, 3:44 a.m. UTC | #1
> On Sep 30, 2015, at 11:36, Geliang Tang <geliangtang@163.com> wrote:
> 
> Just fix a typo in the code comment.
> 
> Signed-off-by: Geliang Tang <geliangtang@163.com>
> ---
> 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;

Applied, thank you.

Yan, Zheng


> -- 
> 1.9.1
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;