[PATCH 0/3] libxfs: tidy up cvtnum junk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have many many patterns like:

int	blocksize, sectorsize;

cvtnum_init(&blocksize, &sectorsize);
cvtnum(blocksize, sectorsize, arg);

where cvtnum_init simply copies filesystem geometry
into those 2 local vars.

Instead, I propose a new wrapper, io_cvtnum(arg) which
just looks to the global file->geom to get these values.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux