Ticket #1775: nfs_patch.diff
File nfs_patch.diff, 1004 bytes (added by kevin.kirspel, on 04/01/11 at 12:05:56) |
---|
-
cpukit/libfs/src/nfsclient/src/nfs.c
diff -rupN rtems/cpukit/libfs/src/nfsclient/src/nfs.c rtems-4.10/cpukit/libfs/src/nfsclient/src/nfs.c
old new 1574 1575 */ 1575 1576 assert( node->args.name ); 1576 1577 1577 *( const char**)arg= pathname + (node->args.name - p);1578 *(arg->c) = pathname + (node->args.name - p); 1578 1579 1579 1580 #if 0 1580 1581 /* restore the directory node */ … … 2616 2617 if (count > NFS_MAXDATA) 2617 2618 count = NFS_MAXDATA; 2618 2619 2620 if (count > nfsStBlksize) 2621 count = nfsStBlksize; 2622 2619 2623 SERP_ARGS(node).readarg.offset = iop->offset; 2620 2624 SERP_ARGS(node).readarg.count = count; 2621 2625 SERP_ARGS(node).readarg.totalcount = UINT32_C(0xdeadbeef); … … 2720 2724 if (count > NFS_MAXDATA) 2721 2725 count = NFS_MAXDATA; 2722 2726 2727 if (count > nfsStBlksize) 2728 count = nfsStBlksize; 2723 2729 2724 2730 SERP_ARGS(node).writearg.beginoffset = UINT32_C(0xdeadbeef); 2725 2731 if ( LIBIO_FLAGS_APPEND & iop->flags ) {