diff options
| author | Maxime Bizon <[email protected]> | 2019-10-19 19:24:11 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2019-11-24 02:44:49 +0000 |
| commit | 3e5aeec0e267d4422a4e740ce723549a3098a4d1 (patch) | |
| tree | e83a41bef7958413989992a1a836166d35b63763 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either (diff) | |
| download | kernel-3e5aeec0e267d4422a4e740ce723549a3098a4d1.tar.gz kernel-3e5aeec0e267d4422a4e740ce723549a3098a4d1.zip | |
cramfs: fix usage on non-MTD device
When both CONFIG_CRAMFS_MTD and CONFIG_CRAMFS_BLOCKDEV are enabled, if
we fail to mount on MTD, we don't try on block device.
Note: this relies upon cramfs_mtd_fill_super() leaving no side
effects on fc state in case of failure; in general, failing
get_tree_...() does *not* mean "fine to try again"; e.g. parsed
options might've been consumed by fill_super callback and freed
on failure.
Fixes: 74f78fc5ef43 ("vfs: Convert cramfs to use the new mount API")
Signed-off-by: Maxime Bizon <[email protected]>
Signed-off-by: Nicolas Pitre <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
