diff options
Diffstat (limited to 'fs/xfs/xfs_rename.c')
-rw-r--r-- | fs/xfs/xfs_rename.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_rename.c b/fs/xfs/xfs_rename.c index fd1244cf50a7..6f80cfdfbd88 100644 --- a/fs/xfs/xfs_rename.c +++ b/fs/xfs/xfs_rename.c | |||
@@ -258,8 +258,8 @@ xfs_rename( | |||
258 | if (DM_EVENT_ENABLED(src_dp, DM_EVENT_RENAME) || | 258 | if (DM_EVENT_ENABLED(src_dp, DM_EVENT_RENAME) || |
259 | DM_EVENT_ENABLED(target_dp, DM_EVENT_RENAME)) { | 259 | DM_EVENT_ENABLED(target_dp, DM_EVENT_RENAME)) { |
260 | error = XFS_SEND_NAMESP(mp, DM_EVENT_RENAME, | 260 | error = XFS_SEND_NAMESP(mp, DM_EVENT_RENAME, |
261 | src_dir_vp, DM_RIGHT_NULL, | 261 | src_dp, DM_RIGHT_NULL, |
262 | target_dir_vp, DM_RIGHT_NULL, | 262 | target_dp, DM_RIGHT_NULL, |
263 | src_name, target_name, | 263 | src_name, target_name, |
264 | 0, 0, 0); | 264 | 0, 0, 0); |
265 | if (error) { | 265 | if (error) { |
@@ -591,8 +591,8 @@ std_return: | |||
591 | if (DM_EVENT_ENABLED(src_dp, DM_EVENT_POSTRENAME) || | 591 | if (DM_EVENT_ENABLED(src_dp, DM_EVENT_POSTRENAME) || |
592 | DM_EVENT_ENABLED(target_dp, DM_EVENT_POSTRENAME)) { | 592 | DM_EVENT_ENABLED(target_dp, DM_EVENT_POSTRENAME)) { |
593 | (void) XFS_SEND_NAMESP (mp, DM_EVENT_POSTRENAME, | 593 | (void) XFS_SEND_NAMESP (mp, DM_EVENT_POSTRENAME, |
594 | src_dir_vp, DM_RIGHT_NULL, | 594 | src_dp, DM_RIGHT_NULL, |
595 | target_dir_vp, DM_RIGHT_NULL, | 595 | target_dp, DM_RIGHT_NULL, |
596 | src_name, target_name, | 596 | src_name, target_name, |
597 | 0, error, 0); | 597 | 0, error, 0); |
598 | } | 598 | } |