Query: vfs_rename
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
VFS_RENAME(9) The Linux VFS VFS_RENAME(9)NAMEvfs_rename - rename a filesystem objectSYNOPSISint vfs_rename(struct inode * old_dir, struct dentry * old_dentry, struct inode * new_dir, struct dentry * new_dentry, struct inode ** delegated_inode);ARGUMENTSold_dir parent of source old_dentry source new_dir parent of destination new_dentry destination delegated_inode returns an inode needing a delegation breakDESCRIPTIONThe caller must hold multiple mutexes--see lock_rename). If vfs_rename discovers a delegation in need of breaking at either the source or destination, it will return -EWOULDBLOCK and return a reference to the inode in delegated_inode. The caller should then break the delegation and retry. Because breaking a delegation may take a long time, the caller should drop all locks before doing so. Alternatively, a caller may pass NULL for delegated_inode. This may be appropriate for callers that expect the underlying filesystem not to be NFS exported.COPYRIGHTKernel Hackers Manual 3.10 June 2014 VFS_RENAME(9)
Related Man Pages |
---|
debugfs_create_u16(9) - centos |
debugfs_create_u32(9) - centos |
debugfs_create_u64(9) - centos |
debugfs_create_blob(9) - centos |
securityfs_create_file(9) - centos |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
Set hard block limit for user using quota |
Shopt -s histappend |
Unsure why access time on a directory change isn't changing |
Controlling user input |