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
Kirill Smelkov
linux
Commits
41e97b7f
Commit
41e97b7f
authored
Feb 09, 2022
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NFS: Remove unused flag NFS_INO_REVAL_PAGECACHE
Signed-off-by:
Trond Myklebust
<
trond.myklebust@hammerspace.com
>
parent
88a6099f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
fs/nfs/inode.c
fs/nfs/inode.c
+2
-3
fs/nfs/nfstrace.h
fs/nfs/nfstrace.h
+0
-1
include/linux/nfs_fs.h
include/linux/nfs_fs.h
+0
-1
No files found.
fs/nfs/inode.c
View file @
41e97b7f
...
...
@@ -203,14 +203,13 @@ void nfs_set_cache_invalid(struct inode *inode, unsigned long flags)
NFS_INO_INVALID_OTHER
|
NFS_INO_INVALID_XATTR
);
flags
&=
~
(
NFS_INO_INVALID_CHANGE
|
NFS_INO_INVALID_SIZE
);
}
else
if
(
flags
&
NFS_INO_REVAL_PAGECACHE
)
flags
|=
NFS_INO_INVALID_CHANGE
|
NFS_INO_INVALID_SIZE
;
}
if
(
!
nfs_has_xattr_cache
(
nfsi
))
flags
&=
~
NFS_INO_INVALID_XATTR
;
if
(
flags
&
NFS_INO_INVALID_DATA
)
nfs_fscache_invalidate
(
inode
,
0
);
flags
&=
~
(
NFS_INO_REVAL_PAGECACHE
|
NFS_INO_REVAL_FORCED
)
;
flags
&=
~
NFS_INO_REVAL_FORCED
;
nfsi
->
cache_validity
|=
flags
;
...
...
fs/nfs/nfstrace.h
View file @
41e97b7f
...
...
@@ -21,7 +21,6 @@
{ NFS_INO_INVALID_ATIME, "INVALID_ATIME" }, \
{ NFS_INO_INVALID_ACCESS, "INVALID_ACCESS" }, \
{ NFS_INO_INVALID_ACL, "INVALID_ACL" }, \
{ NFS_INO_REVAL_PAGECACHE, "REVAL_PAGECACHE" }, \
{ NFS_INO_REVAL_FORCED, "REVAL_FORCED" }, \
{ NFS_INO_INVALID_LABEL, "INVALID_LABEL" }, \
{ NFS_INO_INVALID_CHANGE, "INVALID_CHANGE" }, \
...
...
include/linux/nfs_fs.h
View file @
41e97b7f
...
...
@@ -247,7 +247,6 @@ struct nfs4_copy_state {
#define NFS_INO_INVALID_ATIME BIT(2)
/* cached atime is invalid */
#define NFS_INO_INVALID_ACCESS BIT(3)
/* cached access cred invalid */
#define NFS_INO_INVALID_ACL BIT(4)
/* cached acls are invalid */
#define NFS_INO_REVAL_PAGECACHE BIT(5)
/* must revalidate pagecache */
#define NFS_INO_REVAL_FORCED BIT(6)
/* force revalidation ignoring a delegation */
#define NFS_INO_INVALID_LABEL BIT(7)
/* cached label is invalid */
#define NFS_INO_INVALID_CHANGE BIT(8)
/* cached change is invalid */
...
...
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