X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fseq_file.c;h=99d8b8cfc9b78673e1040d0e690f33cf43361bdf;hb=d4076ac55bf8755ce6c5706478631c1726cf0179;hp=f03220d7891b7c4024d740fbd5447d79e66058e8;hpb=509dceef6470442d8c7b8a43ec34125205840b3c;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/seq_file.c b/fs/seq_file.c index f03220d7891b..99d8b8cfc9b7 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -387,10 +387,16 @@ char *mangle_path(char *s, char *p, char *esc) } return NULL; } -EXPORT_SYMBOL_GPL(mangle_path); +EXPORT_SYMBOL(mangle_path); -/* - * return the absolute path of 'dentry' residing in mount 'mnt'. +/** + * seq_path - seq_file interface to print a pathname + * @m: the seq_file handle + * @path: the struct path to print + * @esc: set of characters to escape in the output + * + * return the absolute path of 'path', as represented by the + * dentry / mnt pair in the path parameter. */ int seq_path(struct seq_file *m, struct path *path, char *esc) {