jbd2: use offset_in_page() instead of manual calculation
commita1dd53318409ed6a27a8ce4fecf52e1326a100c0
authorTheodore Ts'o <tytso@mit.edu>
Sat, 18 Dec 2010 18:13:40 +0000 (18 13:13 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 18 Dec 2010 18:13:40 +0000 (18 13:13 -0500)
tree38befc96ddbd6bb1aaeea3063ba47bc19dab09d9
parentcfef2c6a559b1e37cbc7e7c1b51f82d26abf24ec
jbd2: use offset_in_page() instead of manual calculation

This is a port to jbd2 of a patch which Namhyung Kim <namhyung@gmail.com>
originally made to fs/jbd.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/jbd2/transaction.c