[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-btrfs
Subject: Re: [PATCH 4/7] swapon(2): open swap with O_EXCL
From: Christoph Hellwig <hch () lst ! de>
Date: 2024-04-29 5:09:25
Message-ID: 20240429050925.GD32416 () lst ! de
[Download RAW message or body]
> - swap_file = file_open_name(name, O_RDWR|O_LARGEFILE, 0);
> + swap_file = file_open_name(name, O_RDWR|O_LARGEFILE|O_EXCL, 0);
Can you add the proper whitespaces here while you touch it?
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic