diff options
author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-03-18 05:38:53 -0800 |
---|---|---|
committer | David S. Miller <davem@nuts.davemloft.net> | 2004-03-18 05:38:53 -0800 |
commit | 5f9861a66ce697389ea89236902ef6ef5f54225b (patch) | |
tree | 06e9241e8dfe5f77aa50ae7cb0685651bf3e3505 /ipc | |
parent | d2a4a177a25de3099c2a6bb0272211728261228d (diff) | |
download | history-5f9861a66ce697389ea89236902ef6ef5f54225b.tar.gz |
[PATCH] add file_accessed() helper
New inlined helper - file_accessed(file) (wrapper for update_atime())
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/shm.c b/ipc/shm.c index 9721b42ec9d87c..4897cfe16f2783 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -149,7 +149,7 @@ static void shm_close (struct vm_area_struct *shmd) static int shm_mmap(struct file * file, struct vm_area_struct * vma) { - update_atime(file->f_dentry->d_inode); + file_accessed(file); vma->vm_ops = &shm_vm_ops; shm_inc(file->f_dentry->d_inode->i_ino); return 0; |