mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-01-27 12:47:24 +01:00
f2fs: add missing dput() when printing the donation list
We missed to call dput() on the grabbed dentry.
Fixes: f1a49c1b11 ("f2fs: show the list of donation files")
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
edf7e9040f
commit
4e715744bf
|
|
@ -1845,6 +1845,7 @@ static int __maybe_unused donation_list_seq_show(struct seq_file *seq,
|
|||
(loff_t)(fi->donate_end + 1) << (PAGE_SHIFT - 10),
|
||||
(loff_t)inode->i_mapping->nrpages << (PAGE_SHIFT - 10));
|
||||
next:
|
||||
dput(dentry);
|
||||
inode_unlock_shared(inode);
|
||||
iput(inode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user