X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fsync.c;h=955aef04da289fecb80f51981ae98f538e6bcdc2;hb=281de339ceb822ca6c04d4373ecb9a45c1890ce4;hp=aab5ffe77e9fd67e3ac9173a4cb9488fd393f074;hpb=a890b15c0990cc8d686edcc85f5fccde71ad5ce9;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 */