Re: [PATCH v2 1/2] btrfs-progs: Close file descriptor on exit

From: Zhi Yong Wu
Date: Tue Sep 25 2012 - 09:58:03 EST


On Tue, Sep 25, 2012 at 6:12 PM, David Sterba <dave@xxxxxxxx> wrote:
> On Tue, Sep 25, 2012 at 10:02:15AM +0800, zwu.kernel@xxxxxxxxx wrote:
>> From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
>>
>> Need to close fd on exit.
>
> Strictly you don't need to, kernel will do that at exit() time.
I know, but it is not so nice.

>
> david



--
Regards,

Zhi Yong Wu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/