diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2016-03-29 19:31:34 +0000 |
|---|---|---|
| committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2016-03-29 19:31:34 +0000 |
| commit | 06edfec84c7ffc11e8d9d4471b7864c83baafbe9 (patch) | |
| tree | d09e6a9eab4d11f9e2b828b06ff09600a3125337 /usr/src/uts/common/fs/tmpfs/tmp_vnops.c | |
| parent | 61408572e8cbb5652a5bc72fd9426d82c3f6c075 (diff) | |
| download | illumos-joyent-06edfec84c7ffc11e8d9d4471b7864c83baafbe9.tar.gz | |
OS-5291 lxbrand inotify02 LTP regression
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Diffstat (limited to 'usr/src/uts/common/fs/tmpfs/tmp_vnops.c')
| -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 ad5600eeb7..18e037ee22 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) 2015, Joyent, Inc. All rights reserved. + * Copyright 2016, Joyent, Inc. * Copyright 2015 Nexenta Systems, Inc. All rights reserved. */ @@ -1317,10 +1317,8 @@ tmp_rename( vnevent_rename_src(TNTOV(fromtp), odvp, onm, ct); /* * vnevent_rename_dest is called in tdirenter(). - * Notify the target dir if not same as source dir. */ - if (ndvp != odvp) - vnevent_rename_dest_dir(ndvp, TNTOV(fromtp), nnm, ct); + vnevent_rename_dest_dir(ndvp, TNTOV(fromtp), nnm, ct); } done: |
