nfs_nfsdsubs.c (283635) | nfs_nfsdsubs.c (297793) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 18 unchanged lines hidden (view full) --- 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * 32 */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/fs/nfsserver/nfs_nfsdsubs.c 283635 2015-05-27 22:00:05Z rmacklem $"); | 35__FBSDID("$FreeBSD: head/sys/fs/nfsserver/nfs_nfsdsubs.c 297793 2016-04-10 23:07:00Z pfg $"); |
36 37#ifndef APPLEKEXT 38/* 39 * These functions support the macros and help fiddle mbuf chains for 40 * the nfs op functions. They do things like create the rpc header and 41 * copy data between mbuf chains and uio lists. 42 */ 43#include <fs/nfs/nfsport.h> --- 1765 unchanged lines hidden (view full) --- 1809 case NFSATTRBIT_MOUNTEDONFILEID: 1810 NFSM_BUILD(tl, u_int32_t *, NFSX_HYPER); 1811 *tl++ = 0; 1812 *tl = txdr_unsigned(refp->nfr_dfileno); 1813 retnum += NFSX_HYPER; 1814 break; 1815 default: 1816 printf("EEK! Bad V4 refattr bitpos=%d\n", bitpos); | 36 37#ifndef APPLEKEXT 38/* 39 * These functions support the macros and help fiddle mbuf chains for 40 * the nfs op functions. They do things like create the rpc header and 41 * copy data between mbuf chains and uio lists. 42 */ 43#include <fs/nfs/nfsport.h> --- 1765 unchanged lines hidden (view full) --- 1809 case NFSATTRBIT_MOUNTEDONFILEID: 1810 NFSM_BUILD(tl, u_int32_t *, NFSX_HYPER); 1811 *tl++ = 0; 1812 *tl = txdr_unsigned(refp->nfr_dfileno); 1813 retnum += NFSX_HYPER; 1814 break; 1815 default: 1816 printf("EEK! Bad V4 refattr bitpos=%d\n", bitpos); |
1817 }; | 1817 } |
1818 } 1819 } 1820 *retnump = txdr_unsigned(retnum); 1821 return (retnum + prefixnum); 1822} 1823 1824/* 1825 * Parse a file name out of a request. --- 296 unchanged lines hidden --- | 1818 } 1819 } 1820 *retnump = txdr_unsigned(retnum); 1821 return (retnum + prefixnum); 1822} 1823 1824/* 1825 * Parse a file name out of a request. --- 296 unchanged lines hidden --- |