提交 60b286c4 编写于 作者: J Jaegeuk Kim

f2fs: use correct errno

This patch is to fix misused error number.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 745e8490
...@@ -505,7 +505,7 @@ static int f2fs_issue_discard(struct f2fs_sb_info *sbi, ...@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册