diff options
author | David Sterba <dsterba@suse.com> | 2020-04-28 17:10:29 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-05-25 11:25:28 +0200 |
commit | fb8521caa8f21f3153c5dc9feb055b6cd3e45c89 (patch) | |
tree | 3e9cea8f13d7559b51c5167036d6f9d800b76a38 /fs/btrfs | |
parent | d54f814434c5f87356d35bc377f43ef8d0556f15 (diff) |
btrfs: add more codes to decoder table
I've grepped logs for 'errno=.*unknown' and found -95, -117 and -122,
now added to the table. The wording is adjusted so it makes sense in
context of filesystem.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/super.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 9e5d723a0d99..438ecba26557 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -90,6 +90,15 @@ const char * __attribute_const__ btrfs_decode_error(int errno) case -EROFS: /* -30 */ errstr = "Readonly filesystem"; break; + case -EOPNOTSUPP: /* -95 */ + errstr = "Operation not supported"; + break; + case -EUCLEAN: /* -117 */ + errstr = "Filesystem corrupted"; + break; + case -EDQUOT: /* -122 */ + errstr = "Quota exceeded"; + break; } return errstr; |