]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/sync.c
ARM: OMAP: Fix OMAP1 compilation after MPUIO check change
[linux-2.6-omap-h63xx.git] / 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 */