ovl: do not fail because of O_NOATIME
commit b6650dab 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@redhat.com> Signed-off-by:
Hugo SIMELIERE <hsimeliere.opensource@witekio.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading