commit | 7e6b0971fe3662f5d5903bd77c1b1db6d07b5bda | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Apr 16 11:19:24 2015 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu Apr 16 15:40:41 2015 +0100 |
tree | 1d84e440f92f3483ee1320cc5e22d9678cc3dd9c | |
parent | 0835a1903dd39d86e213fab079469e2dd6c207a7 [diff] |
Overlayfs: Wrap RCU-mode accesses to ->d_inode on subordinate filesystems There is a place in overlayfs where it may touch a lower-layer inode during RCU-mode pathwalk. In this situation the combination of d_backing_inode() and ACCESS_ONCE() does not compile, so institute and use a d_backing_inode_rcu() function that combines these. Signed-off-by: David Howells <dhowells@redhat.com>