]> git.hungrycats.org Git - linux/commit
NTFS: - Fix two race conditions in fs/ntfs/inode.c::ntfs_put_inode().
authorAnton Altaparmakov <aia21@cantab.net>
Thu, 14 Oct 2004 18:09:31 +0000 (19:09 +0100)
committerRichard Russon <ntfs@flatcap.org>
Thu, 14 Oct 2004 18:09:31 +0000 (19:09 +0100)
commit8f62c4026588319090229e31a34f56dee009db2d
tree63bca2c39081121f0fb609dd193bd51349b571f5
parentd7ca9266c15225cdaa8a34e0938ac622df707111
NTFS: - Fix two race conditions in fs/ntfs/inode.c::ntfs_put_inode().

- Fix race condition in fs/ntfs/inode.c::ntfs_put_inode() by moving the
  index inode bitmap inode release code from there to
  fs/ntfs/inode.c::ntfs_clear_big_inode().  (Thanks to Christoph
  Hellwig for spotting this.)
- Fix race condition in fs/ntfs/inode.c::ntfs_put_inode() by taking the
  inode semaphore around the code thst sets ni->itype.index.bmp_ino to
  NULL and reorganize the code to optimize it a bit.  (Thanks to
  Christoph Hellwig for spotting this.)

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/ChangeLog
fs/ntfs/inode.c