Date: Fri, 1 Mar 2013 22:03:57 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r247589 - in stable/9/sys: fs/ext2fs ufs/ufs Message-ID: <201303012203.r21M3vRA009788@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pfg Date: Fri Mar 1 22:03:57 2013 New Revision: 247589 URL: http://svnweb.freebsd.org/changeset/base/247589 Log: MFC r246562: Remove unused MAXSYMLINKLEN macro. Reviewed by: mckusick PR: kern/175794 Modified: stable/9/sys/fs/ext2fs/inode.h stable/9/sys/ufs/ufs/inode.h Directory Properties: stable/9/sys/ (props changed) stable/9/sys/fs/ (props changed) Modified: stable/9/sys/fs/ext2fs/inode.h ============================================================================== --- stable/9/sys/fs/ext2fs/inode.h Fri Mar 1 22:03:31 2013 (r247588) +++ stable/9/sys/fs/ext2fs/inode.h Fri Mar 1 22:03:57 2013 (r247589) @@ -108,7 +108,6 @@ struct inode { */ #define i_shortlink i_db #define i_rdev i_db[0] -#define MAXSYMLINKLEN ((NDADDR + NIADDR) * sizeof(int32_t)) /* File permissions. */ #define IEXEC 0000100 /* Executable. */ Modified: stable/9/sys/ufs/ufs/inode.h ============================================================================== --- stable/9/sys/ufs/ufs/inode.h Fri Mar 1 22:03:31 2013 (r247588) +++ stable/9/sys/ufs/ufs/inode.h Fri Mar 1 22:03:57 2013 (r247589) @@ -151,10 +151,6 @@ struct inode { (ip)->i_din2->d##field = (val); \ } while (0) -#define MAXSYMLINKLEN(ip) \ - ((ip)->i_ump->um_fstype == UFS1) ? \ - ((NDADDR + NIADDR) * sizeof(ufs1_daddr_t)) : \ - ((NDADDR + NIADDR) * sizeof(ufs2_daddr_t)) #define SHORTLINK(ip) \ (((ip)->i_ump->um_fstype == UFS1) ? \ (caddr_t)(ip)->i_din1->di_db : (caddr_t)(ip)->i_din2->di_db)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303012203.r21M3vRA009788>