struct adfs_sb_info *asb;
struct inode *root;
+ sb->s_flags |= MS_NODIRATIME;
+
asb = kmalloc(sizeof(*asb), GFP_KERNEL);
if (!asb)
return -ENOMEM;
sb->s_magic = AFFS_SUPER_MAGIC;
sb->s_op = &affs_sops;
+ sb->s_flags |= MS_NODIRATIME;
sbi = kmalloc(sizeof(struct affs_sb_info), GFP_KERNEL);
if (!sbi)
#endif
/* okay... it's a new inode */
+ inode->i_flags |= S_NOATIME;
vnode->flags |= AFS_VNODE_CHANGED;
ret = afs_inode_fetch_status(inode);
if (ret<0)
brelse(bh);
}
- update_atime(dir);
unlock_kernel();
return 0;
}
struct cifs_sb_info *cifs_sb;
int rc = 0;
+ sb->s_flags |= MS_NODIRATIME; /* and probably even noatime */
sb->s_fs_info = kmalloc(sizeof(struct cifs_sb_info),GFP_KERNEL);
cifs_sb = CIFS_SB(sb);
if(cifs_sb == NULL)
goto out;
ret = -ENOENT;
- if (!IS_DEADDIR(host_inode))
+ if (!IS_DEADDIR(host_inode)) {
ret = host_file->f_op->readdir(host_file, filldir, dirent);
+ update_atime(host_inode);
+ }
}
out:
coda_file->f_pos = host_file->f_pos;
sbi->sbi_vcomm = vc;
sb->s_fs_info = sbi;
+ sb->s_flags |= MS_NODIRATIME; /* probably even noatime */
sb->s_blocksize = 1024; /* XXXXX what do we put here?? */
sb->s_blocksize_bits = 10;
sb->s_magic = CODA_SUPER_MAGIC;
struct cramfs_sb_info *sbi;
struct inode *root;
+ sb->s_flags |= MS_RDONLY;
+
sbi = kmalloc(sizeof(struct cramfs_sb_info), GFP_KERNEL);
if (!sbi)
return -ENOMEM;
done:
filp->f_pos = (n << PAGE_CACHE_SHIFT) | offset;
filp->f_version = inode->i_version;
- update_atime(inode);
return 0;
}
offset = 0;
brelse (bh);
}
- update_atime(inode);
out:
return ret;
}
}
finished:
info->last_pos = filp->f_pos;
- update_atime(inode);
return 0;
}
sb->s_fs_info = sbi;
memset(sbi, 0, sizeof(struct msdos_sb_info));
+ sb->s_flags |= MS_NODIRATIME;
sb->s_magic = MSDOS_SUPER_MAGIC;
sb->s_op = &fat_sops;
sb->s_export_op = &fat_export_ops;
u_long bsize;
struct inode *root;
+ sbp->s_flags |= MS_RDONLY;
+
infp = kmalloc(sizeof(*infp), GFP_KERNEL);
if (!infp) {
printk(KERN_WARNING "vxfs: unable to allocate incore superblock\n");
}
sb->s_op = &hfs_super_operations;
+ sb->s_flags |= MS_NODIRATIME;
init_MUTEX(&sbi->bitmap_lock);
res = hfs_mdb_get(sb);
struct inode *root_inode;
struct jffs_control *c;
+ sb->s_flags |= MS_NODIRATIME;
+
D1(printk(KERN_NOTICE "JFFS: Trying to mount device %s.\n",
sb->s_id));
mtd->index, mtd->name));
sb->s_op = &jffs2_super_operations;
+ sb->s_flags |= MS_NODIRATIME;
ret = jffs2_do_fill_super(sb, data, (flags&MS_VERBOSE)?1:0);
}
spin_unlock(&dcache_lock);
}
- update_atime(dentry->d_inode);
return 0;
}
done:
filp->f_pos = (n << PAGE_CACHE_SHIFT) | offset;
- update_atime(inode);
unlock_kernel();
return 0;
}
else
default_bufsize = 1024;
+ sb->s_flags |= MS_NODIRATIME; /* probably even noatime */
sb->s_maxbytes = 0xFFFFFFFFU;
sb->s_blocksize = 1024; /* Eh... Is this correct? */
sb->s_blocksize_bits = 10;
{
struct inode * root_inode;
+ s->s_flags |= MS_NODIRATIME;
s->s_blocksize = 1024;
s->s_blocksize_bits = 10;
s->s_magic = PROC_SUPER_MAGIC;
}
brelse(bh);
}
- update_atime(inode);
-
out:
unlock_kernel();
return 0;
res = -ENOENT;
if (!IS_DEADDIR(inode)) {
res = file->f_op->readdir(file, buf, filler);
+ update_atime(inode);
}
up(&inode->i_sem);
out:
filp->f_pos = next_pos;
pathrelse (&path_to_entry);
reiserfs_check_path(&path_to_entry) ;
- update_atime(inode) ;
out:
reiserfs_write_unlock(inode->i_sb);
return ret;
if (ver != SMB_MOUNT_OLDVERSION && cpu_to_be32(ver) != SMB_MOUNT_ASCII)
goto out_wrong_data;
+ sb->s_flags |= MS_NODIRATIME;
sb->s_blocksize = 1024; /* Eh... Is this correct? */
sb->s_blocksize_bits = 10;
sb->s_magic = SMB_SUPER_MAGIC;
done:
filp->f_pos = (n << PAGE_CACHE_SHIFT) | offset;
- update_atime(inode);
unlock_kernel();
return 0;
}
}
result = do_udf_readdir(dir, filp, filldir, dirent);
- update_atime(dir);
unlock_kernel();
return result;
}
offset = 0;
brelse (bh);
}
- update_atime(inode);
unlock_kernel();
return 0;
}