projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: fix error return code in btrfs_init_test_fs()
[cascardo/linux.git]
/
fs
/
btrfs
/
tests
/
btrfs-tests.c
diff --git
a/fs/btrfs/tests/btrfs-tests.c
b/fs/btrfs/tests/btrfs-tests.c
index
10eb249
..
02223f3
100644
(file)
--- a/
fs/btrfs/tests/btrfs-tests.c
+++ b/
fs/btrfs/tests/btrfs-tests.c
@@
-68,7
+68,7
@@
int btrfs_init_test_fs(void)
if (IS_ERR(test_mnt)) {
printk(KERN_ERR "btrfs: cannot mount test file system\n");
unregister_filesystem(&test_type);
- return
ret
;
+ return
PTR_ERR(test_mnt)
;
}
return 0;
}