aboutsummaryrefslogtreecommitdiff
path: root/fs/overlayfs
diff options
context:
space:
mode:
authorMiklos Szeredi2018-05-17 10:53:05 +0200
committerMiklos Szeredi2018-05-31 11:06:11 +0200
commit80ea09a002bf4384fda5f087b1b198b3a274f9da (patch)
tree08ee21a4a557b0dfbd3878ab03d6225d3c5c7dd4 /fs/overlayfs
parentb148cba403f4fc9c99f0a596e35047395b748169 (diff)
vfs: factor out inode_insert5()
Split out common helper for race free insertion of an already allocated inode into the cache. Use this from iget5_locked() and insert_inode_locked4(). Make iget5_locked() use new_inode()/iput() instead of alloc_inode()/destroy_inode() directly. Also export to modules for use by filesystems which want to preallocate an inode before file/directory creation. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs')
0 files changed, 0 insertions, 0 deletions