patch-2.0.31 linux/fs/ext2/ioctl.c
Next file: linux/fs/ext2/namei.c
Previous file: linux/fs/ext2/inode.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Aug 6 17:52:01 1997
- Orig file:
v2.0.30/linux/fs/ext2/ioctl.c
- Orig date:
Tue Jul 2 09:08:42 1996
diff -u --recursive --new-file v2.0.30/linux/fs/ext2/ioctl.c linux/fs/ext2/ioctl.c
@@ -60,6 +60,10 @@
inode->i_flags |= S_IMMUTABLE;
else
inode->i_flags &= ~S_IMMUTABLE;
+ if (flags & EXT2_NOATIME_FL)
+ inode->i_flags |= MS_NOATIME;
+ else
+ inode->i_flags &= ~MS_NOATIME;
inode->i_ctime = CURRENT_TIME;
inode->i_dirt = 1;
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov