projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream-fixes' into upstream
[linux-2.6-block.git]
/
fs
/
sync.c
diff --git
a/fs/sync.c
b/fs/sync.c
index aab5ffe77e9fd67e3ac9173a4cb9488fd393f074..955aef04da289fecb80f51981ae98f538e6bcdc2 100644
(file)
--- a/
fs/sync.c
+++ b/
fs/sync.c
@@
-100,7
+100,7
@@
asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
}
if (nbytes == 0)
- endbyte =
-1
;
+ endbyte =
LLONG_MAX
;
else
endbyte--; /* inclusive */