aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kdebug.h
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2016-05-18 16:57:10 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:13 +0200
commitb0948d581a4568707fcd33acbf26e6a0bc812f0c (patch)
tree177d251731dd81b63a5b0cf0266b0f4f9ddbfb85 /include/linux/kdebug.h
parente76d24496070cd36c2452959785be42e2f7a99a2 (diff)
sdcardfs: Added top to sdcardfs_inode_info
Adding packages to the package list and moving files takes a large amount of locks, and is currently a heavy operation. This adds a 'top' field to the inode_info, which points to the inode for the top most directory whose owner you would like to match. On permission checks and get_attr, we look up the owner based on the information at top. When we change a package mapping, we need only modify the information in the corresponding top inode_info's. When renaming, we must ensure top is set correctly in all children. This happens when an app specific folder gets moved outside of the folder for that app. Change-Id: Ib749c60b568e9a45a46f8ceed985c1338246ec6c Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'include/linux/kdebug.h')
0 files changed, 0 insertions, 0 deletions