--- - branch: MAIN date: Tue Sep 25 16:11:42 UTC 2012 files: - new: '1.3' old: '1.2' path: src/sys/fs/tmpfs/tmpfs_rename.c pathrev: src/sys/fs/tmpfs/tmpfs_rename.c@1.3 type: modified id: 20120925T161142Z.5e5fc7c3201165c21921c58bfb6b5b8e3cf0511d log: | Check tmpfs_rmdired_p after tmpfs_vnode_get when walking up the tree. tmpfs_vnode_get drops all locks except possibly the reclaiming bit lock to keep the tmpfs node from being reclaimed while we're still interested in it. Consequently, it does not keep the directory's existence invariant, so we must check that after tmpfs_vnode_get. Fixes PR kern/46990. Tested by Wolfgang Stukenbrock. module: src subject: 'CVS commit: src/sys/fs/tmpfs' unixtime: '1348589502' user: riastradh