mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
ufs: Fix warning from unlock_new_inode()
commit12ecbb4b1dupstream. Commite4502c63f5(ufs: deal with nfsd/iget races) introduced unlock_new_inode() call into ufs_add_nondir(). However that function gets called also from ufs_link() which hands it already initialized inode and thus unlock_new_inode() complains. The problem is harmless but annoying. Fix the problem by opencoding necessary stuff in ufs_link() Fixes:e4502c63f5Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
8a5ba77a32
commit
403150926e
1 changed files with 6 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue