projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd: eliminate "to_delegation" define
[cascardo/linux.git]
/
fs
/
nfsd
/
state.h
diff --git
a/fs/nfsd/state.h
b/fs/nfsd/state.h
index
bf52dc7
..
0a47c6a
100644
(file)
--- a/
fs/nfsd/state.h
+++ b/
fs/nfsd/state.h
@@
-132,6
+132,9
@@
struct nfs4_delegation {
struct nfsd4_callback dl_recall;
};
+#define cb_to_delegation(cb) \
+ container_of(cb, struct nfs4_delegation, dl_recall)
+
/* client delegation callback info */
struct nfs4_cb_conn {
/* SETCLIENTID info */