Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 255c7cf8 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

locks: minor setlease cleanup

parent c45821d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1399,7 +1399,7 @@ int generic_setlease(struct file *filp, long arg, struct file_lock **flp)
	for (before = &inode->i_flock;
			((fl = *before) != NULL) && IS_LEASE(fl);
			before = &fl->fl_next) {
		if (fl->fl_file == lease->fl_file)
		if (fl->fl_file == filp)
			my_before = before;
		else if (fl->fl_type == (F_INPROGRESS | F_UNLCK))
			/*