[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTim5pj0J4VaYRzK8_8fpb0=hO5yxhAL48egiTE2e@mail.gmail.com>
Date: Thu, 17 Mar 2011 15:48:13 -0700
From: Tony Luck <tony.luck@...il.com>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: Xiaotian Feng <xtfeng@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: Some fixes for pstore (Was Re: [git pull] mnt_devname queue)
On Thu, Mar 17, 2011 at 3:42 PM, Al Viro <viro@...iv.linux.org.uk> wrote:
>> + memcpy(private->data, data, size);
>> + inode->i_size = private->size = size;
>>
>> inode->i_private = private;
>
> Better move that before d_add()
Will do.
> *blink*
> if (IS_ERR(root))
> return root;
> return root;
>
> ... or am I misreading the patch?
Your patch reading skills are fine ... the code deserves more than a *blink*.
Will fix.
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists