Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
4ef99242
Commit
4ef99242
authored
Sep 22, 2003
by
Dean Roehrich
Committed by
Stephen Lord
Sep 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Change dm_send_destroy_event to use vnode ptrs rather than bhv ptrs
SGI Modid: 2.5.x-xfs:slinx:158752a
parent
14145346
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fs/xfs/xfs_mount.h
fs/xfs/xfs_mount.h
+3
-3
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.c
+1
-1
No files found.
fs/xfs/xfs_mount.h
View file @
4ef99242
...
...
@@ -94,7 +94,7 @@ struct xfs_bmap_free;
typedef
int
(
*
xfs_send_data_t
)(
int
,
struct
bhv_desc
*
,
xfs_off_t
,
size_t
,
int
,
vrwlock_t
*
);
typedef
int
(
*
xfs_send_mmap_t
)(
struct
vm_area_struct
*
,
uint
);
typedef
int
(
*
xfs_send_destroy_t
)(
struct
bhv_desc
*
,
dm_right_t
);
typedef
int
(
*
xfs_send_destroy_t
)(
struct
vnode
*
,
dm_right_t
);
typedef
int
(
*
xfs_send_namesp_t
)(
dm_eventtype_t
,
struct
vnode
*
,
dm_right_t
,
struct
vnode
*
,
dm_right_t
,
char
*
,
char
*
,
mode_t
,
int
,
int
);
...
...
@@ -113,8 +113,8 @@ typedef struct xfs_dmops {
(*(mp)->m_dm_ops.xfs_send_data)(ev,bdp,off,len,fl,lock)
#define XFS_SEND_MMAP(mp, vma,fl) \
(*(mp)->m_dm_ops.xfs_send_mmap)(vma,fl)
#define XFS_SEND_DESTROY(mp,
bd
p,right) \
(*(mp)->m_dm_ops.xfs_send_destroy)(
bd
p,right)
#define XFS_SEND_DESTROY(mp,
v
p,right) \
(*(mp)->m_dm_ops.xfs_send_destroy)(
v
p,right)
#define XFS_SEND_NAMESP(mp, ev,b1,r1,b2,r2,n1,n2,mode,rval,fl) \
(*(mp)->m_dm_ops.xfs_send_namesp)(ev,b1,r1,b2,r2,n1,n2,mode,rval,fl)
#define XFS_SEND_UNMOUNT(mp, vfsp,vp,right,mode,rval,fl) \
...
...
fs/xfs/xfs_vnodeops.c
View file @
4ef99242
...
...
@@ -1729,7 +1729,7 @@ xfs_inactive(
if
(
ip
->
i_d
.
di_nlink
==
0
&&
DM_EVENT_ENABLED
(
vp
->
v_vfsp
,
ip
,
DM_EVENT_DESTROY
))
{
(
void
)
XFS_SEND_DESTROY
(
mp
,
bd
p
,
DM_RIGHT_NULL
);
(
void
)
XFS_SEND_DESTROY
(
mp
,
v
p
,
DM_RIGHT_NULL
);
}
error
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment