[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-fs
Subject: old code cleanup?? related to mnt_maxsymlinklen
From: "Howard Su" <howard0su () gmail ! com>
Date: 2007-06-26 5:03:58
Message-ID: f126fae00706252203u311b7f30we5680008779ffe35 () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic