From: Jaegeuk Kim Date: Tue, 9 Feb 2016 18:24:31 +0000 (-0800) Subject: f2fs: use correct errno X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60b286c442c75b1b9752bf773e92bfb00a0625e4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git f2fs: use correct errno This patch is to fix misused error number. Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 57a5f7bb275a..47fbb72635ef 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -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,