Author: avg Date: Thu Aug 29 12:25:12 2013 New Revision: 255020 URL: http://svnweb.freebsd.org/changeset/base/255020
Log: MFC r211847: Set de_dir for user created symbolic links. This MFC should fix a panic introduced in r254708. Reported by: Toomas Aas <toomas....@raad.tartu.ee>, jase Tested by: jase MFC slacker: jh Modified: stable/8/sys/fs/devfs/devfs_vnops.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/fs/ (props changed) Modified: stable/8/sys/fs/devfs/devfs_vnops.c ============================================================================== --- stable/8/sys/fs/devfs/devfs_vnops.c Thu Aug 29 11:49:53 2013 (r255019) +++ stable/8/sys/fs/devfs/devfs_vnops.c Thu Aug 29 12:25:12 2013 (r255020) @@ -1513,6 +1513,7 @@ devfs_symlink(struct vop_symlink_args *a de->de_gid = 0; de->de_mode = 0755; de->de_inode = alloc_unr(devfs_inos); + de->de_dir = dd; de->de_dirent->d_type = DT_LNK; i = strlen(ap->a_target) + 1; de->de_symlink = malloc(i, M_DEVFS, M_WAITOK); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"