Changeset 596 for trunk/server/source3/modules/vfs_gpfs.c
- Timestamp:
- Jul 2, 2011, 3:35:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/modules/vfs_gpfs.c
r414 r596 940 940 GPFS_WINATTR_SET_ATTRS, &attrs); 941 941 if ( ret == -1){ 942 if (errno == ENOSYS) { 943 return SMB_VFS_NEXT_SETXATTR(handle, path, name, value, 944 size, flags); 945 } 946 942 947 DEBUG(1, ("gpfs_set_xattr:Set GPFS attributes failed %d\n",ret)); 943 948 return -1; … … 965 970 ret = get_gpfs_winattrs(CONST_DISCARD(char *, path), &attrs); 966 971 if ( ret == -1){ 972 if (errno == ENOSYS) { 973 return SMB_VFS_NEXT_GETXATTR(handle, path, name, value, 974 size); 975 } 976 967 977 DEBUG(1, ("gpfs_get_xattr: Get GPFS attributes failed: %d\n",ret)); 968 978 return -1; … … 1096 1106 ret = set_gpfs_winattrs(CONST_DISCARD(char *, path), 1097 1107 GPFS_WINATTR_SET_CREATION_TIME, &attrs); 1098 if(ret == -1 ){1108 if(ret == -1 && errno != ENOSYS){ 1099 1109 DEBUG(1,("vfs_gpfs_ntimes: set GPFS ntimes failed %d\n",ret)); 1100 1110 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.