Commit 9de27dc7 authored by Nathan Scott's avatar Nathan Scott

[XFS] Cut and paste stuff up on my part in the DMAPI headers.

SGI Modid: 2.5.x-xfs:slinx:142163a
parent a22d4f14
...@@ -89,6 +89,8 @@ typedef enum { ...@@ -89,6 +89,8 @@ typedef enum {
#define DM_EVENT_ENABLED_IO(vfsp, io, event) ( \ #define DM_EVENT_ENABLED_IO(vfsp, io, event) ( \
unlikely ((vfsp)->vfs_flag & VFS_DMI) && \ unlikely ((vfsp)->vfs_flag & VFS_DMI) && \
( ((io)->io_dmevmask & (1 << event)) || \ ( ((io)->io_dmevmask & (1 << event)) || \
((ip)->i_mount->m_dmevmask & (1 << event)) ) \
)
#define DM_XFS_VALID_FS_EVENTS ( \ #define DM_XFS_VALID_FS_EVENTS ( \
(1 << DM_EVENT_PREUNMOUNT) | \ (1 << DM_EVENT_PREUNMOUNT) | \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment