Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43d9bde
)
Remove redundant check. We will always return an error from mdc_close().
author
adilger
<adilger>
Wed, 28 Apr 2004 16:08:29 +0000
(16:08 +0000)
committer
adilger
<adilger>
Wed, 28 Apr 2004 16:08:29 +0000
(16:08 +0000)
b=2410
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
9d485e1
..
9fd0f1a
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-64,7
+64,7
@@
int ll_mdc_close(struct obd_export *mdc_exp, struct inode *inode,
CERROR("inode %lu mdc close failed: rc = %d\n",
inode->i_ino, rc);
}
- if (rc == 0
&& req->rq_repmsg != NULL
) {
+ if (rc == 0) {
rc = ll_objects_destroy(req, file->f_dentry->d_inode);
if (rc)
CERROR("inode %lu ll_objects destroy: rc = %d\n",