diff options
| author | Theodore Ts'o <[email protected]> | 2019-12-15 06:09:03 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2019-12-15 23:05:20 +0000 |
| commit | 9803387c55f7d2ce69aa64340c5fdc6b3027dbc8 (patch) | |
| tree | 7074d366004eb513473463ea2e11b5d348ef284a /net/unix/af_unix.c | |
| parent | ext4: reserve revoke credits in __ext4_new_inode (diff) | |
| download | kernel-9803387c55f7d2ce69aa64340c5fdc6b3027dbc8.tar.gz kernel-9803387c55f7d2ce69aa64340c5fdc6b3027dbc8.zip | |
ext4: validate the debug_want_extra_isize mount option at parse time
Instead of setting s_want_extra_size and then making sure that it is a
valid value afterwards, validate the field before we set it. This
avoids races and other problems when remounting the file system.
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Reported-and-tested-by: [email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
