Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
a656db99
Commit
a656db99
authored
19 years ago
by
Trond Myklebust
Browse files
Options
Downloads
Patches
Plain Diff
[PATCH] NFS: Remove unused NFS inode field readdir_timestamp.
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
4ce79717
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fs/nfs/dir.c
+3
-5
3 additions, 5 deletions
fs/nfs/dir.c
include/linux/nfs_fs.h
+0
-1
0 additions, 1 deletion
include/linux/nfs_fs.h
with
3 additions
and
6 deletions
fs/nfs/dir.c
+
3
−
5
View file @
a656db99
...
@@ -165,12 +165,10 @@ int nfs_readdir_filler(nfs_readdir_descriptor_t *desc, struct page *page)
...
@@ -165,12 +165,10 @@ int nfs_readdir_filler(nfs_readdir_descriptor_t *desc, struct page *page)
NFS_FLAGS
(
inode
)
|=
NFS_INO_INVALID_ATIME
;
NFS_FLAGS
(
inode
)
|=
NFS_INO_INVALID_ATIME
;
/* Ensure consistent page alignment of the data.
/* Ensure consistent page alignment of the data.
* Note: assumes we have exclusive access to this mapping either
* Note: assumes we have exclusive access to this mapping either
* through
t
inode->i_sem or some other mechanism.
* through inode->i_sem or some other mechanism.
*/
*/
if
(
page
->
index
==
0
)
{
if
(
page
->
index
==
0
)
invalidate_inode_pages
(
inode
->
i_mapping
);
invalidate_inode_pages2_range
(
inode
->
i_mapping
,
PAGE_CACHE_SIZE
,
-
1
);
NFS_I
(
inode
)
->
readdir_timestamp
=
timestamp
;
}
unlock_page
(
page
);
unlock_page
(
page
);
return
0
;
return
0
;
error:
error:
...
...
This diff is collapsed.
Click to expand it.
include/linux/nfs_fs.h
+
0
−
1
View file @
a656db99
...
@@ -128,7 +128,6 @@ struct nfs_inode {
...
@@ -128,7 +128,6 @@ struct nfs_inode {
*
*
* mtime != read_cache_mtime
* mtime != read_cache_mtime
*/
*/
unsigned
long
readdir_timestamp
;
unsigned
long
read_cache_jiffies
;
unsigned
long
read_cache_jiffies
;
unsigned
long
attrtimeo
;
unsigned
long
attrtimeo
;
unsigned
long
attrtimeo_timestamp
;
unsigned
long
attrtimeo_timestamp
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment