cvs commit: src/sys/fs/ntfs ntfs_subr.c

Attilio Rao attilio at FreeBSD.org
Wed Feb 13 05:02:14 PST 2008


attilio     2008-02-13 13:02:12 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/ntfs          ntfs_subr.c 
  Log:
  Fix a lock leak in the ntfs locking scheme:
  When ntfs_ntput() reaches 0 in the refcount the inode lockmgr is not
  released and directly destroyed. Fix this by unlocking the lockmgr() even
  in the case of zero-refcount.
  
  Reported by: dougb, yar, Scot Hetzel <swhetzel at gmail dot com>
  Submitted by: yar
  
  Revision  Changes    Path
  1.45      +1 -1      src/sys/fs/ntfs/ntfs_subr.c


More information about the cvs-src mailing list