projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0444702
)
ufs: restore proper tail allocation
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 8 Jun 2017 06:42:03 +0000
(
02:42
-0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 14 Jun 2017 11:16:24 +0000
(13:16 +0200)
commit
8785d84d002c2ce0f68fbcd6c2c86be859802c7e
upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ufs/inode.c
patch
|
blob
|
history
diff --git
a/fs/ufs/inode.c
b/fs/ufs/inode.c
index a064cf44b1435c838a5f446f048ed00b68d48e7b..d7b553300c85e08744a42c10989c0fb70bf70609 100644
(file)
--- a/
fs/ufs/inode.c
+++ b/
fs/ufs/inode.c
@@
-284,7
+284,7
@@
ufs_inode_getfrag(struct inode *inode, unsigned index,
goal += uspi->s_fpb;
}
tmp = ufs_new_fragments(inode, p, ufs_blknum(new_fragment),
- goal,
uspi->s_fpb
, err, locked_page);
+ goal,
nfrags
, err, locked_page);
if (!tmp) {
*err = -ENOSPC;