projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new helper: file_inode(file)
[linux-2.6-block.git]
/
include
/
linux
/
lockd
/
lockd.h
diff --git
a/include/linux/lockd/lockd.h
b/include/linux/lockd/lockd.h
index f5a051a79273c7f3fcdb1a18f4c9e2522e68cc85..0e62d84f9f7ffcaaa8c472aa5da3e373705d76e5 100644
(file)
--- a/
include/linux/lockd/lockd.h
+++ b/
include/linux/lockd/lockd.h
@@
-291,7
+291,7
@@
int nlmsvc_unlock_all_by_ip(struct sockaddr *server_addr);
static inline struct inode *nlmsvc_file_inode(struct nlm_file *file)
{
- return file
->f_file->f_path.dentry->d_inode
;
+ return file
_inode(file->f_file)
;
}
static inline int __nlm_privileged_request4(const struct sockaddr *sap)