From: yury Date: Fri, 27 Oct 2006 17:56:59 +0000 (+0000) Subject: - removed obsolete debug stuff. X-Git-Tag: v1_8_0_110~486^2~323 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=82de1dfbeb6643cdc51419cd9e03911b0fe5dc8d;p=fs%2Flustre-release.git - removed obsolete debug stuff. --- diff --git a/lustre/llite/file.c b/lustre/llite/file.c index b0aee3b..b877ecc 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -164,11 +164,10 @@ out: int ll_md_real_close(struct inode *inode, int flags) { struct ll_inode_info *lli = ll_i2info(inode); - int rc = 0; struct obd_client_handle **och_p; struct obd_client_handle *och; __u64 *och_usecount; - + int rc = 0; ENTRY; if (flags & FMODE_WRITE) { @@ -177,7 +176,7 @@ int ll_md_real_close(struct inode *inode, int flags) } else if (flags & FMODE_EXEC) { och_p = &lli->lli_mds_exec_och; och_usecount = &lli->lli_open_fd_exec_count; - } else { + } else { LASSERT(flags & FMODE_READ); och_p = &lli->lli_mds_read_och; och_usecount = &lli->lli_open_fd_read_count; @@ -205,15 +204,6 @@ int ll_md_real_close(struct inode *inode, int flags) RETURN(rc); } -/* just for debugging by huanghua@clusterfs.com, will be removed later */ -#include -struct md_open_data { - struct obd_client_handle *mod_och; - struct ptlrpc_request *mod_open_req; - struct ptlrpc_request *mod_close_req; -}; -/* --end: just for debugging by huanghua@clusterfs.com*/ - int ll_md_close(struct obd_export *md_exp, struct inode *inode, struct file *file) {