mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
fs/ufs/balloc.c: remove err parameter in ufs_add_fragments
err is used in ufs_new_fragments (ufs_add_fragments only callsite) not in ufs_add_fragments. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
df3d4e7a24
commit
45641c82c1
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#define INVBLOCK ((u64)-1L)
|
#define INVBLOCK ((u64)-1L)
|
||||||
|
|
||||||
static u64 ufs_add_fragments(struct inode *, u64, unsigned, unsigned, int *);
|
static u64 ufs_add_fragments(struct inode *, u64, unsigned, unsigned);
|
||||||
static u64 ufs_alloc_fragments(struct inode *, unsigned, u64, unsigned, int *);
|
static u64 ufs_alloc_fragments(struct inode *, unsigned, u64, unsigned, int *);
|
||||||
static u64 ufs_alloccg_block(struct inode *, struct ufs_cg_private_info *, u64, int *);
|
static u64 ufs_alloccg_block(struct inode *, struct ufs_cg_private_info *, u64, int *);
|
||||||
static u64 ufs_bitmap_search (struct super_block *, struct ufs_cg_private_info *, u64, unsigned);
|
static u64 ufs_bitmap_search (struct super_block *, struct ufs_cg_private_info *, u64, unsigned);
|
||||||
|
@ -432,7 +432,7 @@ u64 ufs_new_fragments(struct inode *inode, void *p, u64 fragment,
|
||||||
/*
|
/*
|
||||||
* resize block
|
* resize block
|
||||||
*/
|
*/
|
||||||
result = ufs_add_fragments (inode, tmp, oldcount, newcount, err);
|
result = ufs_add_fragments(inode, tmp, oldcount, newcount);
|
||||||
if (result) {
|
if (result) {
|
||||||
*err = 0;
|
*err = 0;
|
||||||
UFS_I(inode)->i_lastfrag = max(UFS_I(inode)->i_lastfrag,
|
UFS_I(inode)->i_lastfrag = max(UFS_I(inode)->i_lastfrag,
|
||||||
|
@ -491,7 +491,7 @@ u64 ufs_new_fragments(struct inode *inode, void *p, u64 fragment,
|
||||||
}
|
}
|
||||||
|
|
||||||
static u64 ufs_add_fragments(struct inode *inode, u64 fragment,
|
static u64 ufs_add_fragments(struct inode *inode, u64 fragment,
|
||||||
unsigned oldcount, unsigned newcount, int *err)
|
unsigned oldcount, unsigned newcount)
|
||||||
{
|
{
|
||||||
struct super_block * sb;
|
struct super_block * sb;
|
||||||
struct ufs_sb_private_info * uspi;
|
struct ufs_sb_private_info * uspi;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue