On Nov 25 15:49, Corinna Vinschen wrote:
> @@ -285,7 +288,9 @@ class inode_t
>    public:
>      LIST_ENTRY (inode_t) i_next;
>      lockf_t          *i_lockf;  /* List of locks of this process. */
> -    lockf_t          *i_all_lf; /* Temp list of all locks for this file. */
> +                                /* list of all locks for this file. */
> +    lockf_t          *i_all_lf;
> +    lockf_t           i_all[MAX_LOCKF_CNT];
>  
>      dev_t             i_dev;    /* Device ID */
>      ino_t             i_ino;    /* inode number */

One more change: i_all should be moved to the end of the member list and
be private.  I fixed that locally.


Sorry,
Corinna

Reply via email to