clean up xfs_start_flags
xfs_start_flags can make use of is_power_of_2 to
tidy up the test a little bit.
Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu Aug 2 21:53:18 AEST 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: sandeen@xxxxxxxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:29327a
fs/xfs/xfs_log_priv.h - 1.119 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_priv.h.diff?r1=text&tr1=1.119&r2=text&tr2=1.118&f=h
- use of is_power_of_2 rather than explicitly testing all the
possible power of 2 log buffer sizes.
fs/xfs/xfs_vfsops.c - 1.523 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vfsops.c.diff?r1=text&tr1=1.523&r2=text&tr2=1.522&f=h
- use of is_power_of_2 rather than explicitly testing all the
possible power of 2 log buffer sizes.
|