summaryrefslogtreecommitdiff
path: root/fs/autofs/inode.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-09-29 19:14:26 +0100
committerMark Brown <broonie@kernel.org>2026-09-29 19:14:26 +0100
commit0fbfaeecfd6f5925bfcd7cfcbd62860a9e868619 (patch)
tree1a7726ceef53338e457951374e9d1d559080856a /fs/autofs/inode.c
parentf9aac7cea1ffe9f4a942a773a9be0d8c065f99f4 (diff)
parent995b96380ba5d98131acc162608da3538e1395d8 (diff)
downloadlinux-next-0fbfaeecfd6f5925bfcd7cfcbd62860a9e868619.tar.gz
linux-next-0fbfaeecfd6f5925bfcd7cfcbd62860a9e868619.zip
Merge asoc/for-7.4 into asoc-next
Diffstat (limited to 'fs/autofs/inode.c')
-rw-r--r--fs/autofs/inode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c
index 6b15a3717ba7..066c16f2ea56 100644
--- a/fs/autofs/inode.c
+++ b/fs/autofs/inode.c
@@ -51,6 +51,10 @@ void autofs_kill_sb(struct super_block *sb)
if (sbi) {
/* Free wait queues, close pipe */
autofs_catatonic_mode(sbi);
+ if (sbi->pipe) {
+ fput(sbi->pipe);
+ sbi->pipe = NULL;
+ }
put_pid(sbi->oz_pgrp);
}