diff options
| author | Nathan Scott <nathans@sgi.com> | 2006-09-28 11:03:44 +1000 | 
|---|---|---|
| committer | Tim Shimmin <tes@sgi.com> | 2006-09-28 11:03:44 +1000 | 
| commit | d432c80e68e3c283fc9a85021f5b65e0aabf254e (patch) | |
| tree | 95bd72316cc4992d6dc1392f24a8d6786f15d221 /fs/xfs/xfs_alloc.c | |
| parent | b627259c602f3f1b995d09aad2b57bed889430b9 (diff) | |
| download | olio-linux-3.10-d432c80e68e3c283fc9a85021f5b65e0aabf254e.tar.xz olio-linux-3.10-d432c80e68e3c283fc9a85021f5b65e0aabf254e.zip  | |
[XFS] Minor code rearranging and cleanup to prevent some coverity false
positives.
SGI-PV: 955502
SGI-Modid: xfs-linux-melb:xfs-kern:26805a
Signed-off-by: Nathan Scott <nathans@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_alloc.c')
| -rw-r--r-- | fs/xfs/xfs_alloc.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_alloc.c b/fs/xfs/xfs_alloc.c index 879aa38ddd2..e80dda3437d 100644 --- a/fs/xfs/xfs_alloc.c +++ b/fs/xfs/xfs_alloc.c @@ -1477,8 +1477,10 @@ xfs_alloc_ag_vextent_small(  	/*  	 * Can't allocate from the freelist for some reason.  	 */ -	else +	else { +		fbno = NULLAGBLOCK;  		flen = 0; +	}  	/*  	 * Can't do the allocation, give up.  	 */  |