svn commit: r284868 - stable/10/sys/fs/tmpfs
Konstantin Belousov
kib at FreeBSD.org
Fri Jun 26 06:25:15 UTC 2015
Author: kib
Date: Fri Jun 26 06:25:14 2015
New Revision: 284868
URL: https://svnweb.freebsd.org/changeset/base/284868
Log:
MFC r284594:
Restore the td_cookie value upon detach.
Modified:
stable/10/sys/fs/tmpfs/tmpfs_subr.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/fs/tmpfs/tmpfs_subr.c
==============================================================================
--- stable/10/sys/fs/tmpfs/tmpfs_subr.c Fri Jun 26 06:08:52 2015 (r284867)
+++ stable/10/sys/fs/tmpfs/tmpfs_subr.c Fri Jun 26 06:25:14 2015 (r284868)
@@ -1031,6 +1031,7 @@ tmpfs_dir_detach(struct vnode *vp, struc
tmpfs_free_dirent(tmp, xde);
}
}
+ de->td_cookie = de->td_hash;
} else
RB_REMOVE(tmpfs_dir, head, de);
More information about the svn-src-stable
mailing list