~ubuntu-branches/debian/lenny/ntfs-3g/lenny

« back to all changes in this revision

Viewing changes to libntfs-3g/inode.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Cécile (Le_Vert)
  • Date: 2007-02-07 09:44:48 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070207094448-2wuco318voubcn95
Tags: 1:0.0.0+20070207-1
New upstream release (RC1 !).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1099
1099
 */
1100
1100
void ntfs_inode_update_time(ntfs_inode *ni)
1101
1101
{
1102
 
        if (!NVolReadOnly(ni->vol) && !NVolNoATime(ni->vol) && (ni->mft_no >=
1103
 
                        FILE_first_user || ni->mft_no == FILE_root)) {
 
1102
        if (!NVolReadOnly(ni->vol) && 
 
1103
            (ni->mft_no >= FILE_first_user || ni->mft_no == FILE_root)) {
1104
1104
                time_t now;
1105
1105
 
1106
1106
                now = time(NULL);
1107
 
                ni->last_access_time = now;
1108
1107
                ni->last_data_change_time = now;
1109
1108
                ni->last_mft_change_time = now;
1110
1109
                NInoFileNameSetDirty(ni);