Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- remainder of rmdir changes
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_lock.c
diff --git
a/lustre/ldlm/ldlm_lock.c
b/lustre/ldlm/ldlm_lock.c
index
31a6f4b
..
2d24340
100644
(file)
--- a/
lustre/ldlm/ldlm_lock.c
+++ b/
lustre/ldlm/ldlm_lock.c
@@
-83,6
+83,9
@@
static int ldlm_intent_policy(struct ldlm_lock *lock, void *req_cookie,
bufcount = 2;
size[1] = sizeof(struct obdo);
break;
+ case IT_RMDIR:
+ bufcount = 1;
+ break;
default:
LBUG();
}
@@
-107,6
+110,7
@@
static int ldlm_intent_policy(struct ldlm_lock *lock, void *req_cookie,
case IT_MKNOD:
case IT_LINK:
case IT_UNLINK:
+ case IT_RMDIR:
case IT_RENAME2:
if (mds_reint_p == NULL)
mds_reint_p =