git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfs: fix do_div() warning by instead using sector_div()
[pandora-kernel.git]
/
fs
/
nfs
/
blocklayout
/
extents.c
diff --git
a/fs/nfs/blocklayout/extents.c
b/fs/nfs/blocklayout/extents.c
index
4e2ee99
..
bb15ccc
100644
(file)
--- a/
fs/nfs/blocklayout/extents.c
+++ b/
fs/nfs/blocklayout/extents.c
@@
-44,7
+44,7
@@
static inline sector_t normalize(sector_t s, int base)
{
sector_t tmp = s; /* Since do_div modifies its argument */
- return s -
do
_div(tmp, base);
+ return s -
sector
_div(tmp, base);
}
static inline sector_t normalize_up(sector_t s, int base)