projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs: fix fsync_inode list addition logic and avoid invalid access to memory
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
fcntl.c
diff --git
a/fs/fcntl.c
b/fs/fcntl.c
index
8f70429
..
71a600a
100644
(file)
--- a/
fs/fcntl.c
+++ b/
fs/fcntl.c
@@
-258,7
+258,7
@@
static long do_fcntl(int fd, unsigned int cmd, unsigned long arg,
err = f_dupfd(arg, filp, 0);
break;
case F_DUPFD_CLOEXEC:
- err = f_dupfd(arg, filp,
FD
_CLOEXEC);
+ err = f_dupfd(arg, filp,
O
_CLOEXEC);
break;
case F_GETFD:
err = get_close_on_exec(fd) ? FD_CLOEXEC : 0;