mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
[XFS] cleanup vnode use in dmapi calls
SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:30545a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
This commit is contained in:
parent
d234154125
commit
bc4ac74a4e
7 changed files with 54 additions and 64 deletions
|
@ -258,8 +258,8 @@ xfs_rename(
|
|||
if (DM_EVENT_ENABLED(src_dp, DM_EVENT_RENAME) ||
|
||||
DM_EVENT_ENABLED(target_dp, DM_EVENT_RENAME)) {
|
||||
error = XFS_SEND_NAMESP(mp, DM_EVENT_RENAME,
|
||||
src_dir_vp, DM_RIGHT_NULL,
|
||||
target_dir_vp, DM_RIGHT_NULL,
|
||||
src_dp, DM_RIGHT_NULL,
|
||||
target_dp, DM_RIGHT_NULL,
|
||||
src_name, target_name,
|
||||
0, 0, 0);
|
||||
if (error) {
|
||||
|
@ -591,8 +591,8 @@ std_return:
|
|||
if (DM_EVENT_ENABLED(src_dp, DM_EVENT_POSTRENAME) ||
|
||||
DM_EVENT_ENABLED(target_dp, DM_EVENT_POSTRENAME)) {
|
||||
(void) XFS_SEND_NAMESP (mp, DM_EVENT_POSTRENAME,
|
||||
src_dir_vp, DM_RIGHT_NULL,
|
||||
target_dir_vp, DM_RIGHT_NULL,
|
||||
src_dp, DM_RIGHT_NULL,
|
||||
target_dp, DM_RIGHT_NULL,
|
||||
src_name, target_name,
|
||||
0, error, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue