aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 3ec27bf8531c..4c132a87d437 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -566,7 +566,7 @@ xfs_unmount(
566#ifdef HAVE_DMAPI 566#ifdef HAVE_DMAPI
567 if (mp->m_flags & XFS_MOUNT_DMAPI) { 567 if (mp->m_flags & XFS_MOUNT_DMAPI) {
568 error = XFS_SEND_PREUNMOUNT(mp, 568 error = XFS_SEND_PREUNMOUNT(mp,
569 rvp, DM_RIGHT_NULL, rvp, DM_RIGHT_NULL, 569 rip, DM_RIGHT_NULL, rip, DM_RIGHT_NULL,
570 NULL, NULL, 0, 0, 570 NULL, NULL, 0, 0,
571 (mp->m_dmevmask & (1<<DM_EVENT_PREUNMOUNT))? 571 (mp->m_dmevmask & (1<<DM_EVENT_PREUNMOUNT))?
572 0:DM_FLAGS_UNWANTED); 572 0:DM_FLAGS_UNWANTED);
@@ -617,7 +617,7 @@ out:
617 /* Note: mp structure must still exist for 617 /* Note: mp structure must still exist for
618 * XFS_SEND_UNMOUNT() call. 618 * XFS_SEND_UNMOUNT() call.
619 */ 619 */
620 XFS_SEND_UNMOUNT(mp, error == 0 ? rvp : NULL, 620 XFS_SEND_UNMOUNT(mp, error == 0 ? rip : NULL,
621 DM_RIGHT_NULL, 0, error, unmount_event_flags); 621 DM_RIGHT_NULL, 0, error, unmount_event_flags);
622 } 622 }
623 if (xfs_unmountfs_needed) { 623 if (xfs_unmountfs_needed) {