projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'compiler-attributes-for-linus-v5.13-rc6' of git://github.com/ojeda/linux
[linux-2.6-microblaze.git]
/
fs
/
locks.c
diff --git
a/fs/locks.c
b/fs/locks.c
index
5c42363
..
74b2a1d
100644
(file)
--- a/
fs/locks.c
+++ b/
fs/locks.c
@@
-1808,6
+1808,9
@@
check_conflicting_open(struct file *filp, const long arg, int flags)
if (flags & FL_LAYOUT)
return 0;
+ if (flags & FL_DELEG)
+ /* We leave these checks to the caller */
+ return 0;
if (arg == F_RDLCK)
return inode_is_open_for_write(inode) ? -EAGAIN : 0;