Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 12:25:12 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r255020 - stable/8/sys/fs/devfs
Message-ID:  <201308291225.r7TCPCET002310@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.aas@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308291225.r7TCPCET002310>