2012/6/29 Attilio Rao <atti...@freebsd.org>:
> As already published several times, according to the following plan:
> http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS
>

I still haven't heard from Vivien or Edward, anyway as NTFS is
basically only used RO these days (also the mount_ntfs code just
permits RO mounting) I stripped all the uncomplete/bogus write support
with the following patch:
http://www.freebsd.org/~attilio/ntfs_remove_write.patch

This is an attempt to make the code smaller and possibly just focus on
the locking that really matter (as read-only filesystem).
On some points of the patch I'm a bit less sure as we could easily
take into account also write for things like vaccess() arguments, and
make easier to re-add correct write support at some point in the
future, but still force RO, even if the approach used in the patch is
more correct IMHO.
As an added bonus this patch cleans some dirty code in the mount
operation and fixes a bug as vfs_mountedfrom() is called before real
mounting is completed and can still fail.

The patch has been kindly tested by pho@.  If none has objections I
will commit it friday evening.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to