diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-07 14:17:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-07 14:17:26 -0400 |
commit | 78438ce18f26dbcaa8993bb45d20ffb0cec3bc3e (patch) | |
tree | 2f6fe2eb05296a410a44ee7d602cafe2d202467b /include/linux/dcache.h | |
parent | 168e153d5ebbdd6a3fa85db1cc4879ed4b7030e0 (diff) | |
parent | ce285c267a003acbf607f3540ff71287f82e5282 (diff) |
Merge branch 'stable-fodder' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs stable fodder fixes from Al Viro:
- acct_on() fix for deadlock caught by overlayfs folks
- autofs RCU use-after-free SNAFU (->d_manage() can be called
locklessly, so we need to RCU-delay freeing the objects it looks at)
- (hopefully) the end of "do we need freeing this dentry RCU-delayed"
whack-a-mole.
* 'stable-fodder' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
autofs: fix use-after-free in lockless ->d_manage()
dcache: sort the freeing-without-RCU-delay mess for good.
acct_on(): don't mess with freeze protection
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r-- | include/linux/dcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 60996e64c579..6e1e8e6602c6 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h | |||
@@ -176,7 +176,6 @@ struct dentry_operations { | |||
176 | * typically using d_splice_alias. */ | 176 | * typically using d_splice_alias. */ |
177 | 177 | ||
178 | #define DCACHE_REFERENCED 0x00000040 /* Recently used, don't discard. */ | 178 | #define DCACHE_REFERENCED 0x00000040 /* Recently used, don't discard. */ |
179 | #define DCACHE_RCUACCESS 0x00000080 /* Entry has ever been RCU-visible */ | ||
180 | 179 | ||
181 | #define DCACHE_CANT_MOUNT 0x00000100 | 180 | #define DCACHE_CANT_MOUNT 0x00000100 |
182 | #define DCACHE_GENOCIDE 0x00000200 | 181 | #define DCACHE_GENOCIDE 0x00000200 |
@@ -217,6 +216,7 @@ struct dentry_operations { | |||
217 | 216 | ||
218 | #define DCACHE_PAR_LOOKUP 0x10000000 /* being looked up (with parent locked shared) */ | 217 | #define DCACHE_PAR_LOOKUP 0x10000000 /* being looked up (with parent locked shared) */ |
219 | #define DCACHE_DENTRY_CURSOR 0x20000000 | 218 | #define DCACHE_DENTRY_CURSOR 0x20000000 |
219 | #define DCACHE_NORCU 0x40000000 /* No RCU delay for freeing */ | ||
220 | 220 | ||
221 | extern seqlock_t rename_lock; | 221 | extern seqlock_t rename_lock; |
222 | 222 | ||