Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60b286c4 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: use correct errno



This patch is to fix misused error number.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 745e8490
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -505,7 +505,7 @@ static int f2fs_issue_discard(struct f2fs_sb_info *sbi,


bool discard_next_dnode(struct f2fs_sb_info *sbi, block_t blkaddr)
bool discard_next_dnode(struct f2fs_sb_info *sbi, block_t blkaddr)
{
{
	int err = -ENOTSUPP;
	int err = -EOPNOTSUPP;


	if (test_opt(sbi, DISCARD)) {
	if (test_opt(sbi, DISCARD)) {
		struct seg_entry *se = get_seg_entry(sbi,
		struct seg_entry *se = get_seg_entry(sbi,