vfs_inode_has_locks
if (vfs_inode_has_locks(inode))
EXPORT_SYMBOL_GPL(vfs_inode_has_locks);
bool vfs_inode_has_locks(struct inode *inode);