[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1195697377.28091.26.camel@hurina>
Date: Thu, 22 Nov 2007 04:09:37 +0200
From: Timo Sirainen <tss@....fi>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] Allow changing O_SYNC with fcntl().
Is there a reason why this isn't allowed now?
---
fs/fcntl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/fcntl.c b/fs/fcntl.c
index 8685263..fc0c92e 100644
--- a/fs/fcntl.c
+++ b/fs/fcntl.c
@@ -203,7 +203,7 @@ asmlinkage long sys_dup(unsigned int fildes)
return ret;
}
-#define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | FASYNC | O_DIRECT | O_NOATIME)
+#define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | FASYNC | O_DIRECT | O_NOATIME | O_SYNC)
static int setfl(int fd, struct file * filp, unsigned long arg)
{
Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists