projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input
[powerpc.git]
/
fs
/
sync.c
diff --git
a/fs/sync.c
b/fs/sync.c
index
8616006
..
955aef0
100644
(file)
--- a/
fs/sync.c
+++ b/
fs/sync.c
@@
-61,7
+61,7
@@
* will be available after a crash.
*/
asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
* will be available after a crash.
*/
asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
- int flags)
+
unsigned
int flags)
{
int ret;
struct file *file;
{
int ret;
struct file *file;
@@
-100,7
+100,7
@@
asmlinkage long sys_sync_file_range(int fd, loff_t offset, loff_t nbytes,
}
if (nbytes == 0)
}
if (nbytes == 0)
- endbyte =
-1
;
+ endbyte =
LLONG_MAX
;
else
endbyte--; /* inclusive */
else
endbyte--; /* inclusive */
@@
-126,7
+126,7
@@
out:
* `endbyte' is inclusive
*/
int do_sync_file_range(struct file *file, loff_t offset, loff_t endbyte,
* `endbyte' is inclusive
*/
int do_sync_file_range(struct file *file, loff_t offset, loff_t endbyte,
- int flags)
+
unsigned
int flags)
{
int ret;
struct address_space *mapping;
{
int ret;
struct address_space *mapping;