From e1a80b819eda3c8f95fa0a74c5402037c1a75bb9 Mon Sep 17 00:00:00 2001 From: Vlad Apostolov Date: Sat, 11 Nov 2006 18:04:47 +1100 Subject: [PATCH] --- yaml --- r: 40867 b: refs/heads/master c: 2e2e7bb1fd857b9fc83b0cd77b6b647ebb423301 h: refs/heads/master i: 40865: dbea527140dd150b50440c39762493160d08608f 40863: b36c223c80cec598ce05cd01f20fdc3b5669973a v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_ioctl.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 191002389485..90088c521fd4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 70a505285f9859f77e07f7c12371b0d29ecf3d82 +refs/heads/master: 2e2e7bb1fd857b9fc83b0cd77b6b647ebb423301 diff --git a/trunk/fs/xfs/linux-2.6/xfs_ioctl.c b/trunk/fs/xfs/linux-2.6/xfs_ioctl.c index a74f854d91e6..74d094829a4d 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/trunk/fs/xfs/linux-2.6/xfs_ioctl.c @@ -341,8 +341,11 @@ xfs_open_by_handle( put_unused_fd(new_fd); return -XFS_ERROR(-PTR_ERR(filp)); } - if (inode->i_mode & S_IFREG) + if (inode->i_mode & S_IFREG) { + /* invisible operation should not change atime */ + filp->f_flags |= O_NOATIME; filp->f_op = &xfs_invis_file_operations; + } fd_install(new_fd, filp); return new_fd;