diff options
| author | Christian Brauner <brauner@kernel.org> | 2024-07-04 17:00:19 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2024-07-04 17:00:19 +0200 |
| commit | 8d42877ad65b02741c9099392a001b7209baa5d4 (patch) | |
| tree | 690f0b3cfca477c458e9955bb8ee067c2874d799 /lib/debugobjects.c | |
| parent | 682d12148c264484562f130f0c8584839ebc36fc (diff) | |
fs: only copy to userspace on success in listmount()
Avoid copying when we failed to, or didn't have any mounts to list.
Fixes: cb54ef4f050e ("fs: don't copy to userspace under namespace semaphore") # mainline only
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
