X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fsync.c;h=955aef04da289fecb80f51981ae98f538e6bcdc2;hb=075395d228641646159dae3dd170fa3fc6ff477a;hp=aab5ffe77e9fd67e3ac9173a4cb9488fd393f074;hpb=69cd291c6bbc6647fe3783257c5a2e076e808f71;p=linux-2.6-omap-h63xx.git diff --git a/fs/sync.c b/fs/sync.c index aab5ffe77e9..955aef04da2 100644 --- 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 */