Ignore:
Timestamp:
Apr 25, 2007, 9:44:55 AM (14 years ago)
Author:
Paul Smedley
Message:

Code updated to Samba 3.0.25rc2 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/modules/vfs_readahead.c

    r28 r30  
    102102                        err ));
    103103#elif defined(HAVE_POSIX_FADVISE)
    104                 int err = posix_fadvise(fromfd, offset, (off_t)rhd->len, POSIX_FADV_WILLNEED);
     104                int err = posix_fadvise(fd, offset, (off_t)rhd->len, POSIX_FADV_WILLNEED);
    105105                DEBUG(10,("readahead_pread: posix_fadvise on fd %u, offset %llu, len %u returned %d\n",
    106106                        (unsigned int)fd,
    107107                        (unsigned long long)offset,
    108108                        (unsigned int)rhd->len,
    109                         (err ));
     109                        err ));
    110110#else
    111111                if (!rhd->didmsg) {
Note: See TracChangeset for help on using the changeset viewer.