diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/autofs4/inode.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index a3ae0b2aeb5a..4320faa2d2dc 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -94,7 +94,12 @@ static int autofs4_show_options(struct seq_file *m, struct dentry *root) | |||
94 | seq_printf(m, ",direct"); | 94 | seq_printf(m, ",direct"); |
95 | else | 95 | else |
96 | seq_printf(m, ",indirect"); | 96 | seq_printf(m, ",indirect"); |
97 | 97 | #ifdef CONFIG_CHECKPOINT_RESTORE | |
98 | if (sbi->pipe) | ||
99 | seq_printf(m, ",pipe_ino=%ld", sbi->pipe->f_inode->i_ino); | ||
100 | else | ||
101 | seq_printf(m, ",pipe_ino=-1"); | ||
102 | #endif | ||
98 | return 0; | 103 | return 0; |
99 | } | 104 | } |
100 | 105 | ||