Binfmt_flat: Add minimum support for the Blackfin relocations
[pandora-kernel.git] / fs / locks.c
index 50857d2..c795eaa 100644 (file)
@@ -782,7 +782,7 @@ find_conflict:
        if (request->fl_flags & FL_ACCESS)
                goto out;
        locks_copy_lock(new_fl, request);
-       locks_insert_lock(&inode->i_flock, new_fl);
+       locks_insert_lock(before, new_fl);
        new_fl = NULL;
        error = 0;