Re: [vserver] Linux VServer patch for 2.6.22.9

From: Oliver Paulus <oliver_at_code-project.org>
Date: Fri 28 Sep 2007 - 11:13:16 BST
Message-ID: <20070928121316.0ke5tkqev7ioc40w@raudies.homeip.net>

> @@ -797,7 +817,8 @@ out:
> return error;
> }
Sorry. My previous post was not correct. The out part has no changes in this
case - but why does I get a reject for this code change?
> goto out;
> locks_copy_lock(new_fl, request);
> locks_insert_lock(&inode->i_flock, new_fl);
> + vx_locks_inc(new_fl);
> new_fl = NULL;
> error = 0;

These lines had a failure in the previous post:
> And this is the code part in the 2.6.22.9 "fs/locks.c" source:
> goto out;
> locks_copy_lock(new_fl, request);
> locks_insert_lock(before, new_fl);
> vx_locks_inc(new_fl);
> new_fl = NULL;
> error = 0;
this is correct:
                goto out;
        locks_copy_lock(new_fl, request);
        locks_insert_lock(before, new_fl);
        new_fl = NULL;
        error = 0;

--
Oliver Paulus
OpenPGP
Key id: 28D9C44F
Fingerprint: EADA 62FC 07DC 3361 A3D6  4174 2DE3 C027 28D9 C44F
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x28D9C44F

Received on Fri Sep 28 11:32:30 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 28 Sep 2007 - 11:32:36 BST by hypermail 2.1.8