Date: Tue, 26 Jun 2007 13:03:58 +0800 From: "Howard Su" <howard0su@gmail.com> To: fs@freebsd.org Subject: old code cleanup?? related to mnt_maxsymlinklen Message-ID: <f126fae00706252203u311b7f30we5680008779ffe35@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f126fae00706252203u311b7f30we5680008779ffe35>