old code cleanup?? related to mnt_maxsymlinklen

Howard Su howard0su at gmail.com
Tue Jun 26 05:03:59 UTC 2007


When I read ufs code, i found there are many places checking
vp->v_mount->mnt_maxsymlinklen >0. Seems it is for back compactiblity. I am
wondering if we can start to cleanup these stuffs. Some comments give the
intention that the code is pretty old.
/* 4.4 format directories support whiteout operations */
  if (dvp->v_mount->mnt_maxsymlinklen > 0)

/* true if old FS format...*/
#define OFSFMT(vp) ((vp)->v_mount->mnt_maxsymlinklen <= 0)



-- 
-Howard


More information about the freebsd-fs mailing list