Print this page
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, Joyent, Inc. All rights reserved. */ #include <sys/types.h> #include <sys/t_lock.h> #include <sys/param.h>
*** 560,573 **** if (tip) { vnevent_rename_dest(ITOV(tip), ITOV(tdp), namep, ctp); } ! if (sdp != tdp) { ! vnevent_rename_dest_dir(ITOV(tdp), ctp); } - } /* * The following VN_RELE() was moved from the * DE_RENAME case above */ --- 561,573 ---- if (tip) { vnevent_rename_dest(ITOV(tip), ITOV(tdp), namep, ctp); } ! vnevent_rename_dest_dir(ITOV(tdp), ITOV(tip), ! namep, ctp); } /* * The following VN_RELE() was moved from the * DE_RENAME case above */