Timestamp:
Aug 2, 2010, 8:16:45 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: trunk update to 3.5.4

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/modules/vfs_streams_xattr.c

    r414 r480  
    238238        sbuf->st_ex_mode &= ~S_IFMT;
    239239        sbuf->st_ex_mode |= S_IFREG;
    240         sbuf->st_ex_blocks = sbuf->st_ex_size % STAT_ST_BLOCKSIZE + 1;
     240        sbuf->st_ex_blocks = sbuf->st_ex_size STAT_ST_BLOCKSIZE + 1;
    241241
    242242        return 0;
     
    291291        smb_fname->st.st_ex_mode |= S_IFREG;
    292292        smb_fname->st.st_ex_blocks =
    293             smb_fname->st.st_ex_size % STAT_ST_BLOCKSIZE + 1;
     293            smb_fname->st.st_ex_size STAT_ST_BLOCKSIZE + 1;
    294294
    295295        result = 0;
     
    342342        smb_fname->st.st_ex_mode |= S_IFREG;
    343343        smb_fname->st.st_ex_blocks =
    344             smb_fname->st.st_ex_size % STAT_ST_BLOCKSIZE + 1;
     344            smb_fname->st.st_ex_size STAT_ST_BLOCKSIZE + 1;
    345345
    346346        result = 0;
Note: See TracChangeset for help on using the changeset viewer.