projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4884b47
)
btrfs: cover more error codes in btrfs_decode_error
author
David Sterba
<dsterba@suse.cz>
Wed, 20 Mar 2013 14:29:47 +0000
(14:29 +0000)
committer
Josef Bacik
<jbacik@fusionio.com>
Mon, 6 May 2013 19:54:25 +0000
(15:54 -0400)
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/super.c
b/fs/btrfs/super.c
index 3c404b8e83bbb4a68ae2dc939fda2634ce8d9163..c3254c995fc880c7d6dcbc06d1cbfb24dd4e2c09 100644
(file)
--- a/
fs/btrfs/super.c
+++ b/
fs/btrfs/super.c
@@
-81,6
+81,12
@@
static const char *btrfs_decode_error(int errno)
case -EEXIST:
errstr = "Object already exists";
break;
+ case -ENOSPC:
+ errstr = "No space left";
+ break;
+ case -ENOENT:
+ errstr = "No such entry";
+ break;
}
return errstr;