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
- Cleanup of the lock callback infrastructure - not quite functional
[fs/lustre-release.git]
/
lustre
/
llite
/
namei.c
diff --git
a/lustre/llite/namei.c
b/lustre/llite/namei.c
index
e367bbc
..
ac813a4
100644
(file)
--- a/
lustre/llite/namei.c
+++ b/
lustre/llite/namei.c
@@
-120,11
+120,9
@@
int ll_lock(struct inode *dir, struct dentry *dentry,
int ll_unlock(__u32 mode, struct lustre_handle *lockh)
{
- struct ldlm_lock *lock;
ENTRY;
- lock = lustre_handle2object(lockh);
- ldlm_lock_decref(lock, mode);
+ ldlm_lock_decref(lockh, mode);
RETURN(0);
}