git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-2.6.30' of git://linux-nfs.org/~bfields/linux
[pandora-kernel.git]
/
include
/
linux
/
nfsd
/
nfsfh.h
diff --git
a/include/linux/nfsd/nfsfh.h
b/include/linux/nfsd/nfsfh.h
index
fa317f6
..
afa1901
100644
(file)
--- a/
include/linux/nfsd/nfsfh.h
+++ b/
include/linux/nfsd/nfsfh.h
@@
-269,6
+269,13
@@
fh_copy(struct svc_fh *dst, struct svc_fh *src)
return dst;
}
return dst;
}
+static inline void
+fh_copy_shallow(struct knfsd_fh *dst, struct knfsd_fh *src)
+{
+ dst->fh_size = src->fh_size;
+ memcpy(&dst->fh_base, &src->fh_base, src->fh_size);
+}
+
static __inline__ struct svc_fh *
fh_init(struct svc_fh *fhp, int maxsize)
{
static __inline__ struct svc_fh *
fh_init(struct svc_fh *fhp, int maxsize)
{