X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fproc%2Ffd.c;h=0788d093f5d86ace99ad80f68f4d7bd924eff294;hb=2b9d1c050d291693f257c98605028325f8146c84;hp=985ea881b5bc489aa7ae0657e23fbe23d650d844;hpb=33b443422eda3828814e8c4b17cf4202ec6ac529;p=cascardo%2Flinux.git diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 985ea881b5bc..0788d093f5d8 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c @@ -11,6 +11,7 @@ #include +#include "../mount.h" #include "internal.h" #include "fd.h" @@ -48,8 +49,9 @@ static int seq_show(struct seq_file *m, void *v) } if (!ret) { - seq_printf(m, "pos:\t%lli\nflags:\t0%o\n", - (long long)file->f_pos, f_flags); + seq_printf(m, "pos:\t%lli\nflags:\t0%o\nmnt_id:\t%i\n", + (long long)file->f_pos, f_flags, + real_mount(file->f_path.mnt)->mnt_id); if (file->f_op->show_fdinfo) ret = file->f_op->show_fdinfo(m, file); fput(file);