Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
int err = -ENOTSUPP;
int err = -EOPNOTSUPP;
if (test_opt(sbi, DISCARD)) {
struct seg_entry *se = get_seg_entry(sbi,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment