lkml.org 
[lkml]   [2015]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ceph: fix a comment typo
From
Date

> 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
>
>



\
 
 \ /
  Last update: 2015-09-30 06:01    [W:0.161 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site