summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/lustre/llite/dir.c
diff options
context:
space:
mode:
authorwang di <di.wang@intel.com>2016-07-21 22:44:02 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-15 18:31:06 +0200
commit0ddf80c1b97500e33c6efd79f0ea46fab9f3200e (patch)
tree837a693419d69e2f7e3d02ca44b5a7b116bf0cea /drivers/staging/lustre/lustre/llite/dir.c
parent307bef744f65f219e81edd0e8610cb089cd3c262 (diff)
staging: lustre: llite: remove debug message in ll_dir_read
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>
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/dir.c')
-rw-r--r--drivers/staging/lustre/lustre/llite/dir.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/llite/dir.c b/drivers/staging/lustre/lustre/llite/dir.c
index 75d0176457e6..5b46dd8f9bb5 100644
--- a/drivers/staging/lustre/lustre/llite/dir.c
+++ b/drivers/staging/lustre/lustre/llite/dir.c
@@ -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);
}
}