Brett, your patch (and Olivier, your revised one) don't seem to work for me
anymore.  By trial and error experimentation (wild guessing), I find that
the "magic number" is no longer 8, but 4, for the two initial RAM file systems
that I currently possess, both of which have a real_offset value, before
incrementing, of 6796.  I note that 6796 divided by 8 yields a quotient of 849
and a remainder of 4.  Hmm.  Adding 4 brings the value to an integer multiple
of 8.  I wonder.  Maybe the correct algorithm is

   real_offset=$(((real_offset+8)/8*8))

This will bump real_offset to the next higher multiple of 8.  Is this correct?
I have no idea.  What I do know is that the current algorithm doesn't work for
me, but the above does.  For now.  Will it continue to work in the future?
I don't know.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/66851843.402888.1408838404613.javamail.r...@md01.wow.synacor.com

Reply via email to