Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pull-fixes.ufs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull ufs fix from Al Viro:
"Fix ufs_rename() braino introduced this cycle.

The 'folio_release_kmap(dir_folio, new_dir)' in ufs_rename() part of
folio conversion should've been getting a pointer to ufs directory
entry within the page, rather than a pointer to directory struct
inode..."

* tag 'pull-fixes.ufs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
ufs_rename(): fix bogus argument of folio_release_kmap()

+1 -1
+1 -1
fs/ufs/namei.c
··· 307 307 if (old_dir != new_dir) 308 308 ufs_set_link(old_inode, dir_de, dir_folio, new_dir, 0); 309 309 else 310 - folio_release_kmap(dir_folio, new_dir); 310 + folio_release_kmap(dir_folio, dir_de); 311 311 inode_dec_link_count(old_dir); 312 312 } 313 313 return 0;