mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
xfs: abstract block export operations from nfsd layouts
Instead of creeping pnfs layout configuration into filesystems, move the definition of block-based export operations under a more abstract configuration. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Dave Chinner <david@fromorbit.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
f4a4906e56
commit
15d66ac209
5 changed files with 12 additions and 5 deletions
|
@ -246,7 +246,7 @@ const struct export_operations xfs_export_operations = {
|
|||
.fh_to_parent = xfs_fs_fh_to_parent,
|
||||
.get_parent = xfs_fs_get_parent,
|
||||
.commit_metadata = xfs_fs_nfs_commit_metadata,
|
||||
#ifdef CONFIG_NFSD_BLOCKLAYOUT
|
||||
#ifdef CONFIG_EXPORTFS_BLOCK_OPS
|
||||
.get_uuid = xfs_fs_get_uuid,
|
||||
.map_blocks = xfs_fs_map_blocks,
|
||||
.commit_blocks = xfs_fs_commit_blocks,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue