projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98f93e
)
orangefs_inode_is_stale(): i_mode type bits do *not* form a bitmap...
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 14 Feb 2021 04:03:20 +0000
(23:03 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 13 Mar 2021 03:15:17 +0000
(22:15 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/orangefs/orangefs-utils.c
patch
|
blob
|
history
diff --git
a/fs/orangefs/orangefs-utils.c
b/fs/orangefs/orangefs-utils.c
index d4b7ae763186ce5da4606b33251386e5fb7318a2..46b7dcff18acedaa3b9ca07ac8ad812b3a90748c 100644
(file)
--- a/
fs/orangefs/orangefs-utils.c
+++ b/
fs/orangefs/orangefs-utils.c
@@
-221,7
+221,7
@@
static int orangefs_inode_is_stale(struct inode *inode,
* If the inode type or symlink target have changed then this
* inode is stale.
*/
- if (type == -1 ||
!(inode->i_mode &
type)) {
+ if (type == -1 ||
inode_wrong_type(inode,
type)) {
orangefs_make_bad_inode(inode);
return 1;
}