projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49bd49f
)
cifs: fix print of hdr_flags in dfscache_proc_show()
author
Paulo Alcantara
<pc@cjr.nz>
Mon, 11 Oct 2021 21:45:35 +0000
(18:45 -0300)
committer
Steve French
<stfrench@microsoft.com>
Wed, 10 Nov 2021 02:44:07 +0000
(20:44 -0600)
Reorder the parameters in seq_printf() to correctly print header
flags.
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/dfs_cache.c
b/fs/cifs/dfs_cache.c
index 28374559284413219d19fa23116f617f659f6e60..5ddbc1a2439d4179fd0346fc0e63e210e5e4590f 100644
(file)
--- a/
fs/cifs/dfs_cache.c
+++ b/
fs/cifs/dfs_cache.c
@@
-283,7
+283,7
@@
static int dfscache_proc_show(struct seq_file *m, void *v)
seq_printf(m,
"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",
ce->path, ce->srvtype == DFS_TYPE_ROOT ? "root" : "link",
- ce->ttl, ce->etime.tv_nsec, ce->
ref_flags, ce->hdr
_flags,
+ ce->ttl, ce->etime.tv_nsec, ce->
hdr_flags, ce->ref
_flags,
IS_DFS_INTERLINK(ce->hdr_flags) ? "yes" : "no",
ce->path_consumed, cache_entry_expired(ce) ? "yes" : "no");