Re: [f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2019-01-22 Thread Chao Yu
On 2019/1/21 11:37, Jaegeuk Kim wrote: > On 01/09, Chao Yu wrote: >> On 2019/1/9 12:42, Jaegeuk Kim wrote: >>> On 01/09, Chao Yu wrote: On 2019/1/9 7:46, Jaegeuk Kim wrote: > On 12/10, Chao Yu wrote: >> stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() >> detect s

Re: [f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2019-01-20 Thread Jaegeuk Kim
On 01/09, Chao Yu wrote: > On 2019/1/9 12:42, Jaegeuk Kim wrote: > > On 01/09, Chao Yu wrote: > >> On 2019/1/9 7:46, Jaegeuk Kim wrote: > >>> On 12/10, Chao Yu wrote: > stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() > detect such error and handle it correctly. >

Re: [f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2019-01-08 Thread Chao Yu
On 2019/1/9 12:42, Jaegeuk Kim wrote: > On 01/09, Chao Yu wrote: >> On 2019/1/9 7:46, Jaegeuk Kim wrote: >>> On 12/10, Chao Yu wrote: stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() detect such error and handle it correctly. Signed-off-by: Chao Yu --- >

Re: [f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2019-01-08 Thread Jaegeuk Kim
On 01/09, Chao Yu wrote: > On 2019/1/9 7:46, Jaegeuk Kim wrote: > > On 12/10, Chao Yu wrote: > >> stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() > >> detect such error and handle it correctly. > >> > >> Signed-off-by: Chao Yu > >> --- > >> lib/libf2fs.c | 9 - > >> 1

Re: [f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2019-01-08 Thread Chao Yu
On 2019/1/9 7:46, Jaegeuk Kim wrote: > On 12/10, Chao Yu wrote: >> stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() >> detect such error and handle it correctly. >> >> Signed-off-by: Chao Yu >> --- >> lib/libf2fs.c | 9 - >> 1 file changed, 8 insertions(+), 1 deletion(-

Re: [f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2019-01-08 Thread Jaegeuk Kim
On 12/10, Chao Yu wrote: > stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() > detect such error and handle it correctly. > > Signed-off-by: Chao Yu > --- > lib/libf2fs.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/lib/libf2fs.c b/lib/libf2

[f2fs-dev] [PATCH] libf2fs: fix to detect stat() failure

2018-12-10 Thread Chao Yu
stat() can fail due to a lot of reasons, let f2fs_dev_is_umounted() detect such error and handle it correctly. Signed-off-by: Chao Yu --- lib/libf2fs.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/libf2fs.c b/lib/libf2fs.c index c692bf2da635..6a1040feff32 10064