projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fuse: invalidate dir dentry after chmod
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ncpfs
/
dir.c
diff --git
a/fs/ncpfs/dir.c
b/fs/ncpfs/dir.c
index f0e3e9e747dd72aaa756611cb0c881d19b902d5a..03446c5a3ec1e2e67138d9c921495df5c85daace 100644
(file)
--- a/
fs/ncpfs/dir.c
+++ b/
fs/ncpfs/dir.c
@@
-633,7
+633,7
@@
ncp_fill_cache(struct file *file, struct dir_context *ctx,
d_rehash(newdent);
} else {
spin_lock(&dentry->d_lock);
- NCP_FINFO(
inode
)->flags &= ~NCPI_DIR_CACHE;
+ NCP_FINFO(
dir
)->flags &= ~NCPI_DIR_CACHE;
spin_unlock(&dentry->d_lock);
}
} else {