]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nfsd/nfsfh.h
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / include / linux / nfsd / nfsfh.h
index fa317f6c154b168286905d40ca3b9aae9918cf0e..afa19016c4a8fdc90fd1fad4cdeff3179cda7613 100644 (file)
@@ -269,6 +269,13 @@ fh_copy(struct svc_fh *dst, struct svc_fh *src)
        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)
 {