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

From: David Sterba
Date: Tue Sep 25 2012 - 06:12:20 EST


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.

david
--
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/