make sure that freeing shmem fast symlinks is RCU-delayed
Cc: stable@vger.kernel.org # v4.2+ Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
5955102c99
commit
3ed47db34f
2 changed files with 5 additions and 9 deletions
|
@ -15,10 +15,7 @@ struct shmem_inode_info {
|
|||
unsigned int seals; /* shmem seals */
|
||||
unsigned long flags;
|
||||
unsigned long alloced; /* data pages alloced to file */
|
||||
union {
|
||||
unsigned long swapped; /* subtotal assigned to swap */
|
||||
char *symlink; /* unswappable short symlink */
|
||||
};
|
||||
unsigned long swapped; /* subtotal assigned to swap */
|
||||
struct shared_policy policy; /* NUMA memory alloc policy */
|
||||
struct list_head swaplist; /* chain of maybes on swap */
|
||||
struct simple_xattrs xattrs; /* list of xattrs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue