staging: lustre: llite: remove debug message in ll_dir_read
authorwang di <di.wang@intel.com>
Fri, 22 Jul 2016 02:44:02 +0000 (22:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 16:31:06 +0000 (18:31 +0200)
Remove debug message and struct ll_inode_info.

Signed-off-by: wang di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/10761
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4906
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c

index 75d0176457e60140164bfb152b846b28f89141a4..5b46dd8f9bb5bb9d0f86cca90ff3515e0f9e10c6 100644 (file)
@@ -492,7 +492,6 @@ static __u16 ll_dirent_type_get(struct lu_dirent *ent)
 int ll_dir_read(struct inode *inode, struct md_op_data *op_data,
                struct dir_context *ctx)
 {
-       struct ll_inode_info *info       = ll_i2info(inode);
        struct ll_sb_info    *sbi       = ll_i2sbi(inode);
        __u64              pos          = ctx->pos;
        int                api32      = ll_need_32bit_api(sbi);
@@ -596,8 +595,6 @@ int ll_dir_read(struct inode *inode, struct md_op_data *op_data,
                        }
                } else {
                        rc = PTR_ERR(page);
-                       CERROR("error reading dir "DFID" at %lu: rc %d\n",
-                              PFID(&info->lli_fid), (unsigned long)pos, rc);
                }
        }