diff options
Diffstat (limited to 'fs/proc/fd.c')
-rw-r--r-- | fs/proc/fd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c index f28a875f8779..d7a4a28ef630 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c | |||
@@ -50,6 +50,8 @@ static int seq_show(struct seq_file *m, void *v) | |||
50 | if (!ret) { | 50 | if (!ret) { |
51 | seq_printf(m, "pos:\t%lli\nflags:\t0%o\n", | 51 | seq_printf(m, "pos:\t%lli\nflags:\t0%o\n", |
52 | (long long)file->f_pos, f_flags); | 52 | (long long)file->f_pos, f_flags); |
53 | if (file->f_op->show_fdinfo) | ||
54 | ret = file->f_op->show_fdinfo(m, file); | ||
53 | fput(file); | 55 | fput(file); |
54 | } | 56 | } |
55 | 57 | ||