projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6b8a794
)
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
author
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 24 Nov 2019 20:36:39 +0000
(12:36 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sun, 24 Nov 2019 20:36:39 +0000
(12:36 -0800)
Pull cramfs fix from Al Viro:
"Regression fix, fallen through the cracks"
* 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
cramfs: fix usage on non-MTD device
fs/cramfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/cramfs/inode.c
b/fs/cramfs/inode.c
index
d12ea28
..
2f04024
100644
(file)
--- a/
fs/cramfs/inode.c
+++ b/
fs/cramfs/inode.c
@@
-958,8
+958,8
@@
static int cramfs_get_tree(struct fs_context *fc)
if (IS_ENABLED(CONFIG_CRAMFS_MTD)) {
ret = get_tree_mtd(fc, cramfs_mtd_fill_super);
- if (
ret < 0
)
- return
ret
;
+ if (
!ret
)
+ return
0
;
}
if (IS_ENABLED(CONFIG_CRAMFS_BLOCKDEV))
ret = get_tree_bdev(fc, cramfs_blkdev_fill_super);