Skip to content

Commit efb21d7

Browse files
Paulo Alcantarasmfrench
authored andcommitted
cifs: fix print of hdr_flags in dfscache_proc_show()
Reorder the parameters in seq_printf() to correctly print header flags. Signed-off-by: Paulo Alcantara (SUSE) <[email protected]> Reviewed-by: Shyam Prasad N <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 49bd49f commit efb21d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/cifs/dfs_cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static int dfscache_proc_show(struct seq_file *m, void *v)
283283
seq_printf(m,
284284
"cache entry: path=%s,type=%s,ttl=%d,etime=%ld,hdr_flags=0x%x,ref_flags=0x%x,interlink=%s,path_consumed=%d,expired=%s\n",
285285
ce->path, ce->srvtype == DFS_TYPE_ROOT ? "root" : "link",
286-
ce->ttl, ce->etime.tv_nsec, ce->ref_flags, ce->hdr_flags,
286+
ce->ttl, ce->etime.tv_nsec, ce->hdr_flags, ce->ref_flags,
287287
IS_DFS_INTERLINK(ce->hdr_flags) ? "yes" : "no",
288288
ce->path_consumed, cache_entry_expired(ce) ? "yes" : "no");
289289

0 commit comments

Comments
 (0)