Re: [PATCH] reiserfs: check kstrdup failure

2016-05-25 Thread Jan Kara
On Tue 24-05-16 22:51:27, Mikulas Patocka wrote: > Check out-of-memory failure of the kstrdup option. Note that the argument > "arg" may be NULL (in that case kstrup returns NULL), so out of memory > condition happened if arg was non-NULL and kstrdup returned NULL. > > The patch also changes the

Re: [PATCH] reiserfs: check kstrdup failure

2016-05-25 Thread Jan Kara
On Tue 24-05-16 22:51:27, Mikulas Patocka wrote: > Check out-of-memory failure of the kstrdup option. Note that the argument > "arg" may be NULL (in that case kstrup returns NULL), so out of memory > condition happened if arg was non-NULL and kstrdup returned NULL. > > The patch also changes the

[PATCH] reiserfs: check kstrdup failure

2016-05-24 Thread Mikulas Patocka
Check out-of-memory failure of the kstrdup option. Note that the argument "arg" may be NULL (in that case kstrup returns NULL), so out of memory condition happened if arg was non-NULL and kstrdup returned NULL. The patch also changes the call to replace_mount_options - if we didn't pass any

[PATCH] reiserfs: check kstrdup failure

2016-05-24 Thread Mikulas Patocka
Check out-of-memory failure of the kstrdup option. Note that the argument "arg" may be NULL (in that case kstrup returns NULL), so out of memory condition happened if arg was non-NULL and kstrdup returned NULL. The patch also changes the call to replace_mount_options - if we didn't pass any