Ignore:
Timestamp:
Jul 2, 2011, 3:35:33 PM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update trunk to 3.5.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/modules/vfs_gpfs.c

    r414 r596  
    940940                                GPFS_WINATTR_SET_ATTRS, &attrs);
    941941        if ( ret == -1){
     942                if (errno == ENOSYS) {
     943                        return SMB_VFS_NEXT_SETXATTR(handle, path, name, value,
     944                                                     size, flags);
     945                }
     946
    942947                DEBUG(1, ("gpfs_set_xattr:Set GPFS attributes failed %d\n",ret));
    943948                return -1;
     
    965970        ret = get_gpfs_winattrs(CONST_DISCARD(char *, path), &attrs);
    966971        if ( ret == -1){
     972                if (errno == ENOSYS) {
     973                        return SMB_VFS_NEXT_GETXATTR(handle, path, name, value,
     974                                                     size);
     975                }
     976
    967977                DEBUG(1, ("gpfs_get_xattr: Get GPFS attributes failed: %d\n",ret));
    968978                return -1;
     
    10961106        ret = set_gpfs_winattrs(CONST_DISCARD(char *, path),
    10971107                                GPFS_WINATTR_SET_CREATION_TIME, &attrs);
    1098         if(ret == -1){
     1108        if(ret == -1 && errno != ENOSYS){
    10991109                DEBUG(1,("vfs_gpfs_ntimes: set GPFS ntimes failed %d\n",ret));
    11001110                return -1;
Note: See TracChangeset for help on using the changeset viewer.