commit | a7103b99e4cc00b9d40f6bad77389f9e2341820a | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Fri Mar 23 14:40:56 2012 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Fri Mar 23 14:40:56 2012 -0400 |
tree | 0456964af499d3bca9becbfae4b7df1ffc36d8f3 | |
parent | 35ebb4155f2f9d5580679d368aea81a5933db481 [diff] |
cifs: fix up get_numpages Use DIV_ROUND_UP. Also, PAGE_SIZE is more appropriate here since these aren't pagecache pages. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>