diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-09 18:24:31 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-23 00:07:23 (GMT) |
commit | 60b286c442c75b1b9752bf773e92bfb00a0625e4 (patch) | |
tree | 19c6180428eefadfc82247ed7f20be0efcdae060 /fs/f2fs/segment.c | |
parent | 745e8490b1e960ad79859dd8ba6a0b5a8d3d994e (diff) | |
download | linux-60b286c442c75b1b9752bf773e92bfb00a0625e4.tar.xz |
f2fs: use correct errno
This patch is to fix misused error number.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r-- | fs/f2fs/segment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 57a5f7b..47fbb72 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, |