|
@@ -819,7 +819,7 @@ static int __posix_lock_file(struct inode *inode, struct file_lock *request, str
|
|
lock_kernel();
|
|
lock_kernel();
|
|
if (request->fl_type != F_UNLCK) {
|
|
if (request->fl_type != F_UNLCK) {
|
|
for_each_lock(inode, before) {
|
|
for_each_lock(inode, before) {
|
|
- struct file_lock *fl = *before;
|
|
|
|
|
|
+ fl = *before;
|
|
if (!IS_POSIX(fl))
|
|
if (!IS_POSIX(fl))
|
|
continue;
|
|
continue;
|
|
if (!posix_locks_conflict(request, fl))
|
|
if (!posix_locks_conflict(request, fl))
|