Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a656db99
Commit
a656db99
authored
Jun 22, 2005
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] NFS: Remove unused NFS inode field readdir_timestamp.
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
4ce79717
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
fs/nfs/dir.c
fs/nfs/dir.c
+3
-5
include/linux/nfs_fs.h
include/linux/nfs_fs.h
+0
-1
No files found.
fs/nfs/dir.c
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:
...
...
include/linux/nfs_fs.h
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment