projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/opal-ipmi' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
file.c
diff --git
a/fs/file.c
b/fs/file.c
index ab3eb6a8823940643ab376782cd9a1e47c583c98..ee738ea028fadab5d742445c6e48c151cb53f612 100644
(file)
--- a/
fs/file.c
+++ b/
fs/file.c
@@
-869,7
+869,7
@@
SYSCALL_DEFINE1(dup, unsigned int, fildes)
struct file *file = fget_raw(fildes);
if (file) {
struct file *file = fget_raw(fildes);
if (file) {
- ret = get_unused_fd
(
);
+ ret = get_unused_fd
_flags(0
);
if (ret >= 0)
fd_install(ret, file);
else
if (ret >= 0)
fd_install(ret, file);
else