Whamcloud - gitweb
b=6285
authoralex <alex>
Thu, 7 Jul 2005 14:23:22 +0000 (14:23 +0000)
committeralex <alex>
Thu, 7 Jul 2005 14:23:22 +0000 (14:23 +0000)
commit70880ac14cffcf851a9c33afc8c0d7988d69b80a
tree5434def36d755d06dc9cc8c4dd322d33d8abe81b
parent9c7e2b102aa33669f42c81d29df3c4b889ba001f
b=6285

 - sometimes mds_getattr_lock() is asked to refresh attributes by fid.
   it doesn't take LOOKUP lock, thus has no protected from concurrent
   unlink. this means mds_getattr_lock() can return already unlinked
   (and being removed) inode. to avoid this we check i_nlink right
   after we got UPDATE lock and return -ENOENT if nlink is zero
lustre/mds/handler.c