ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/sys/kern/vfs_syscalls.c
(Generate patch)

Comparing trunk/sys/kern/vfs_syscalls.c (file contents):
Revision 9423 by laffer1, Mon Sep 26 03:25:36 2016 UTC vs.
Revision 9424 by laffer1, Sat Mar 4 22:54:00 2017 UTC

# Line 1949 | Line 1949 | restart:
1949                  if (error)
1950                          goto out;
1951   #endif
1952 +                vfs_notify_upper(vp, VFS_NOTIFY_UPPER_UNLINK);
1953                  error = VOP_REMOVE(nd.ni_dvp, vp, &nd.ni_cnd);
1954   #ifdef MAC
1955   out:
# Line 3948 | Line 3949 | restart:
3949                          return (error);
3950                  goto restart;
3951          }
3952 +        vfs_notify_upper(vp, VFS_NOTIFY_UPPER_UNLINK);
3953          error = VOP_RMDIR(nd.ni_dvp, nd.ni_vp, &nd.ni_cnd);
3954          vn_finished_write(mp);
3955   out:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines