fs/xfs/xfs_pnfs.h

Source file repositories/reference/linux-study-clean/fs/xfs/xfs_pnfs.h

File Facts

System
Linux kernel
Corpus path
fs/xfs/xfs_pnfs.h
Extension
.h
Size
479 bytes
Lines
21
Domain
Core OS
Bucket
VFS And Filesystem Core
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _XFS_PNFS_H
#define _XFS_PNFS_H 1

#include <linux/exportfs_block.h>

#ifdef CONFIG_EXPORTFS_BLOCK_OPS
int xfs_break_leased_layouts(struct inode *inode, uint *iolock,
		bool *did_unlock);
#else
static inline int
xfs_break_leased_layouts(struct inode *inode, uint *iolock, bool *did_unlock)
{
	return 0;
}
#endif /* CONFIG_EXPORTFS_BLOCK_OPS */

extern const struct exportfs_block_ops xfs_export_block_ops;

#endif /* _XFS_PNFS_H */

Annotation

Implementation Notes