projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61604a2
)
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 13:06:01 +0000
(15:06 +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
190d64b
..
27f342d
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;