diff options
| author | 2012-03-23 14:40:56 -0400 | |
|---|---|---|
| committer | 2012-03-23 14:40:56 -0400 | |
| commit | a7103b99e4cc00b9d40f6bad77389f9e2341820a (patch) | |
| tree | 0456964af499d3bca9becbfae4b7df1ffc36d8f3 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | cifs: make cifsFileInfo_get return the cifsFileInfo pointer (diff) | |
| download | wireguard-linux-a7103b99e4cc00b9d40f6bad77389f9e2341820a.tar.xz wireguard-linux-a7103b99e4cc00b9d40f6bad77389f9e2341820a.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
