diff options
Diffstat (limited to 'fs/ext2/dir.c')
-rw-r--r-- | fs/ext2/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 7de729e4b..fce6fc4c8 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c @@ -39,7 +39,7 @@ static struct file_operations ext2_dir_operations = { ext2_dir_read, /* read */ NULL, /* write - bad */ ext2_readdir, /* readdir */ - NULL, /* select - default */ + NULL, /* poll - default */ ext2_ioctl, /* ioctl */ NULL, /* mmap */ NULL, /* no special open code */ @@ -211,7 +211,7 @@ revalidate: offset = 0; brelse (bh); } - if (!IS_RDONLY(inode)) { + if (DO_UPDATE_ATIME(inode)) { inode->i_atime = CURRENT_TIME; inode->i_dirt = 1; } |