Re: [PATCH V2 linux-next] nfs: kmap can't fail

2017-04-26 Thread Trond Myklebust
On Wed, 2017-04-26 at 20:45 +0200, Fabian Frederick wrote: > Remove NULL test on kmap() > > Signed-off-by: Fabian Frederick > --- > V2: Remove ptr and return kmap(page) directly > (Suggested by Anna Schumaker) > >  fs/nfs/dir.c | 6 +- >  1 file changed, 1 insertion(+), 5

Re: [PATCH V2 linux-next] nfs: kmap can't fail

2017-04-26 Thread Trond Myklebust
On Wed, 2017-04-26 at 20:45 +0200, Fabian Frederick wrote: > Remove NULL test on kmap() > > Signed-off-by: Fabian Frederick > --- > V2: Remove ptr and return kmap(page) directly > (Suggested by Anna Schumaker) > >  fs/nfs/dir.c | 6 +- >  1 file changed, 1 insertion(+), 5 deletions(-) > >

[PATCH V2 linux-next] nfs: kmap can't fail

2017-04-26 Thread Fabian Frederick
Remove NULL test on kmap() Signed-off-by: Fabian Frederick --- V2: Remove ptr and return kmap(page) directly (Suggested by Anna Schumaker) fs/nfs/dir.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 3a188cb..12ed806b

[PATCH V2 linux-next] nfs: kmap can't fail

2017-04-26 Thread Fabian Frederick
Remove NULL test on kmap() Signed-off-by: Fabian Frederick --- V2: Remove ptr and return kmap(page) directly (Suggested by Anna Schumaker) fs/nfs/dir.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 3a188cb..12ed806b 100644 ---