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
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment