[PATCH] sync_file_range(): use unsigned for flags
Ulrich suggested that the `flags' arg to sync_file_range() become unsigned. Cc: Ulrich Drepper <drepper@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
8833d328ca
commit
5246d05031
@@ -61,7 +61,7 @@
|
||||
* 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;
|
||||
@@ -126,7 +126,7 @@ out:
|
||||
* `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;
|
||||
|
Reference in New Issue
Block a user