xfs
[Top] [All Lists]

PARTIAL TAKE 980084 - Make xfs_alloc_compute_aligned() void.

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: PARTIAL TAKE 980084 - Make xfs_alloc_compute_aligned() void.
From: dgc@xxxxxxx (David Chinner)
Date: Wed, 9 Apr 2008 17:18:36 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Make xfs_alloc_compute_aligned() void.

xfs_alloc_compute_aligned() returns a value based on a comparison
of the computed extent length and the minimum length allowed. This
is only used by some callers - the other four return parameters
are used more often. Hence move the comparison to the code that
actually needs to do it and make xfs_alloc_compute_aligned() a
void function.


Date:  Wed Apr  9 17:18:17 AEST 2008
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  xaiki@xxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:30797a
fs/xfs/xfs_alloc.c - 1.192 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_alloc.c.diff?r1=text&tr1=1.192&r2=text&tr2=1.191&f=h
        - Make xfs_alloc_compute_aligned() void.



<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 980084 - Make xfs_alloc_compute_aligned() void., David Chinner <=