diff options
author | 2010-03-04 00:34:58 -0500 | |
---|---|---|
committer | 2010-03-04 00:34:58 -0500 | |
commit | 7247c0caa23d94a1cb6b307edba9dc45fb0798d4 (patch) | |
tree | 435dd65425ea98ce4e10396f27c7a2f02dde15c8 /lib/debugobjects.c | |
parent | ext4: Fix insertion point of extent in mext_insert_across_blocks() (diff) | |
download | wireguard-linux-7247c0caa23d94a1cb6b307edba9dc45fb0798d4.tar.xz wireguard-linux-7247c0caa23d94a1cb6b307edba9dc45fb0798d4.zip |
ext4: Fix the NULL reference in double_down_write_data_sem()
If EXT4_IOC_MOVE_EXT ioctl is called with NULL donor_fd, fget() in
ext4_ioctl() gets inappropriate file structure for donor; so we need
to do this check earlier, before calling double_down_write_data_sem().
Signed-off-by: Akira Fujita <a-fujita@rs.jp.nec.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions