projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
adfs
/
dir_fplus.c
diff --git
a/fs/adfs/dir_fplus.c
b/fs/adfs/dir_fplus.c
index f2ba88ab4aed0e1e7baf934b95a6b9612e57baa4..82d14cdf70f9d02448944a456cba29a01c785105 100644
(file)
--- a/
fs/adfs/dir_fplus.c
+++ b/
fs/adfs/dir_fplus.c
@@
-61,6
+61,7
@@
adfs_fplus_read(struct super_block *sb, unsigned int id, unsigned int sz, struct
kcalloc(size, sizeof(struct buffer_head *),
GFP_KERNEL);
if (!bh_fplus) {
+ ret = -ENOMEM;
adfs_error(sb, "not enough memory for"
" dir object %X (%d blocks)", id, size);
goto out;