Re: [PATCH] cifs: don't check for failure from mempool_alloc()

2017-04-27 Thread Steve French
merged into cifs-2.6.git for-next On Sun, Apr 9, 2017 at 9:08 PM, NeilBrown wrote: > > mempool_alloc() cannot fail if the gfp flags allow it to > sleep, and both GFP_FS allows for sleeping. > > So these tests of the return value from mempool_alloc() > cannot be needed. > > Signed-off-by: NeilBrow

[PATCH] cifs: don't check for failure from mempool_alloc()

2017-04-09 Thread NeilBrown
mempool_alloc() cannot fail if the gfp flags allow it to sleep, and both GFP_FS allows for sleeping. So these tests of the return value from mempool_alloc() cannot be needed. Signed-off-by: NeilBrown --- fs/cifs/misc.c | 14 +- fs/cifs/smb2transport.c | 30 +---