Changeset 204 for branches/samba-3.2.x/source/modules
- Timestamp:
- May 20, 2009, 6:46:53 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/modules/nfs4_acls.c
r133 r204 25 25 26 26 #define SMBACL4_PARAM_TYPE_NAME "nfs4" 27 28 extern const struct generic_mapping file_generic_mapping; 27 29 28 30 #define SMB_ACE4_INT_MAGIC 0x76F8A967 … … 529 531 ace_v4->aceMask = ace_nt->access_mask & 530 532 (STD_RIGHT_ALL_ACCESS | SA_RIGHT_FILE_ALL_ACCESS); 533 534 se_map_generic(&ace_v4->aceMask, &file_generic_mapping); 531 535 532 536 if (ace_v4->aceFlags!=ace_nt->flags) -
branches/samba-3.2.x/source/modules/vfs_tsmsm.c
r133 r204 201 201 } 202 202 203 lerrno = 0;204 205 203 do { 204 lerrno = 0; 205 206 206 ret = dm_get_dmattr(*dmsession_id, dmhandle, dmhandle_len, 207 207 DM_NO_TOKEN, &dmname, buflen, buf, &rlen); … … 280 280 SMB_OFF_T offset, size_t n) 281 281 { 282 bool file_online = tsmsm_aio_force(handle, fsp); 283 284 if(!file_online) 285 return ENOSYS; 282 bool file_offline = tsmsm_aio_force(handle, fsp); 283 284 if (file_offline) { 285 DEBUG(10,("tsmsm_sendfile on offline file - rejecting\n")); 286 errno = ENOSYS; 287 return -1; 288 } 286 289 287 290 return SMB_VFS_NEXT_SENDFILE(handle, tofd, fsp, hdr, offset, n); … … 334 337 if (tsmd->hsmscript == NULL) { 335 338 /* no script enabled */ 336 DEBUG(1, ("tsmsm_set_offline: No tsmsm:hsmscriptconfigured\n"));339 DEBUG(1, ("tsmsm_set_offline: No 'tsmsm:hsm script' configured\n")); 337 340 return 0; 338 341 }
Note:
See TracChangeset
for help on using the changeset viewer.