udf: Avoid dir link count to go negative
authorJan Kara <jack@suse.cz>
Thu, 4 Sep 2014 09:47:51 +0000 (11:47 +0200)
committerJan Kara <jack@suse.cz>
Thu, 4 Sep 2014 09:47:51 +0000 (11:47 +0200)
If we are writing back inode of unlinked directory, its link count ends
up being (u16)-1. Although the inode is deleted, udf_iget() can load the
inode when NFS uses stale file handle and get confused.

Signed-off-by: Jan Kara <jack@suse.cz>

No differences found