aboutsummaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2016-08-21 21:04:12 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:59:52 +0200
commit73410a26f7c5d013055cddbd271520fb351afacd (patch)
tree7f4cab117c333944e45b7c17340d30600d820596 /include/linux/root_dev.h
parentbcba1c627f32a0c11d2c2c393d0ed5c9bb671c5a (diff)
sdcardfs: Remove stale dentries when reusing an inode.
When an inode is moved in one view of sdcardfs, others do not know about it until the information is requested, and even then, the old dentry is not invalidated until it is used. If the inode moves back, it may successfully revalidate with stale permissions. Since we do not allow hard links, we can avoid this by removing alias's when we reuse an inode. Change-Id: I3c00c496b436af4d3309a77a596dec8fd5906cdd Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions