Re: [PATCH 5.10 1/1] ovl: do not fail because of O_NOATIME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 30, 2024 at 11:27:45AM +0200, hsimeliere.opensource@xxxxxxxxxxx wrote:
> From: Miklos Szeredi <mszeredi@xxxxxxxxxx>
> 
> commit b6650dab404c701d7fe08a108b746542a934da84 upstream.
> 
> In case the file cannot be opened with O_NOATIME because of lack of
> capabilities, then clear O_NOATIME instead of failing.
> 
> Remove WARN_ON(), since it would now trigger if O_NOATIME was cleared.
> Noticed by Amir Goldstein.
> 
> Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxxxxx>
> Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@xxxxxxxxxxx>
> ---
>  fs/overlayfs/file.c | 11 +++--------
>  1 file changed, 3 insertions(+), 8 deletions(-)
> 

Now queued up, thanks.

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux