diff options
| author | Andrew Price <[email protected]> | 2015-09-23 13:45:43 +0000 |
|---|---|---|
| committer | Bob Peterson <[email protected]> | 2015-09-23 13:45:43 +0000 |
| commit | 6de20eb0dee4c802d9d228d6c08d00386e172e52 (patch) | |
| tree | 0cb2d63548aee11bcf8204cedba10eef06b0ede1 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | GFS2: fallocate: do not rely on file_update_time to mark the inode dirty (diff) | |
| download | kernel-6de20eb0dee4c802d9d228d6c08d00386e172e52.tar.gz kernel-6de20eb0dee4c802d9d228d6c08d00386e172e52.zip | |
GFS2: Set s_mode before parsing mount options
In the generic mount_bdev() function, deactivate_locked_super() is
called after the fill_super() call fails, at which point s_mode has been
set. kill_block_super() expects this and dumps a warning when
FMODE_EXCL is not set in s_mode.
In gfs2_mount() we call deactivate_locked_super() on failure of
gfs2_mount_args(), at which point s_mode has not yet been set. This
causes kill_block_super() to dump a stack trace when gfs2 fails to mount
with invalid options. Set s_mode earlier in gfs2_mount() to avoid that.
Signed-off-by: Andrew Price <[email protected]>
Signed-off-by: Bob Peterson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
