diff options
| author | Bryan Cantrill <bryan@joyent.com> | 2014-09-18 06:22:00 +0000 |
|---|---|---|
| committer | Bryan Cantrill <bryan@joyent.com> | 2014-09-19 04:47:37 +0000 |
| commit | a9a246c0c49e192616e7499eaa2362b21fde8f5e (patch) | |
| tree | ccd7a62ea594fe69d4db8bc6608faf3331ef4883 /usr/src/uts/common/fs/tmpfs | |
| parent | 1b835011401c6664bbde117b07a1735e0aaf2c74 (diff) | |
| download | illumos-joyent-a9a246c0c49e192616e7499eaa2362b21fde8f5e.tar.gz | |
OS-3294 add support for inotify
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/fs/tmpfs')
| -rw-r--r-- | usr/src/uts/common/fs/tmpfs/tmp_vnops.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/common/fs/tmpfs/tmp_vnops.c b/usr/src/uts/common/fs/tmpfs/tmp_vnops.c index 624ea30b7f..c404433edd 100644 --- a/usr/src/uts/common/fs/tmpfs/tmp_vnops.c +++ b/usr/src/uts/common/fs/tmpfs/tmp_vnops.c @@ -25,7 +25,7 @@ */ /* - * Copyright (c) 2013, Joyent, Inc. All rights reserved. + * Copyright (c) 2014, Joyent, Inc. All rights reserved. */ #include <sys/types.h> @@ -1296,9 +1296,7 @@ tmp_rename( if (err == 0) { vnevent_rename_src(TNTOV(fromtp), odvp, onm, ct); - /* Notify the target dir if not same as source dir. */ - if (ndvp != odvp) - vnevent_rename_dest_dir(ndvp, ct); + vnevent_rename_dest_dir(ndvp, TNTOV(fromtp), nnm, ct); } done: |
