VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Andrew Morton <akpm@osdl.org> 2006-04-10 22:53:57 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-04-11 06:18:40 -0700 commit: 5246d0503130fa58904c8beb987fcf93b96d8ab6 parent: 8833d328caf009f8da58337e17a2cf5d52993a7c
Commit Summary:
[PATCH] sync_file_range(): use unsigned for flags
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/sync.c b/fs/sync.c
index 8616006d2094..aab5ffe77e9f 100644
--- 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,
-					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;