Function report |
Source Code:fs\dcache.c |
Create Date:2022-07-28 20:07:31 |
Last Modify:2020-03-18 10:27:32 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This helper attempts to cope with remotely renamed directories* It assumes that the caller is already holding* Note: If ever the locking in lock_rename() changes, then please* remember to update this too...
Proto:static int __d_unalias(struct inode *inode, struct dentry *dentry, struct dentry *alias)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct dentry * | dentry | >d_parent->d_inode->i_mutex, and rename_lock |
struct dentry * | alias |
2952 | struct rw_semaphore * m2 = NULL |
2956 | If parent directory == parent directory Then Go to out_unalias |
2960 | If Not mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically Then Go to out_err |
2962 | m1 = s_vfs_rename_mutex |
2963 | If Not inode_trylock_shared( Where the name belongs to - NULL is * negative ) Then Go to out_err |
2966 | out_unalias : |
2968 | ret = 0 |
2969 | out_err : |
2970 | If m2 Then lease a read lock |
2974 | Return ret |
Name | Describe |
---|---|
d_splice_alias | splice a disconnected dentry into the tree if one exists |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |