Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
35c265e0
Commit
35c265e0
authored
Aug 19, 2014
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cifs: switch to use of %p[dD]
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c2ca0fcd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
19 deletions
+19
-19
fs/cifs/dir.c
fs/cifs/dir.c
+7
-7
fs/cifs/file.c
fs/cifs/file.c
+6
-6
fs/cifs/inode.c
fs/cifs/inode.c
+6
-6
No files found.
fs/cifs/dir.c
View file @
35c265e0
...
...
@@ -461,8 +461,8 @@ cifs_atomic_open(struct inode *inode, struct dentry *direntry,
xid
=
get_xid
();
cifs_dbg
(
FYI
,
"parent inode = 0x%p name is: %
s
and dentry = 0x%p
\n
"
,
inode
,
direntry
->
d_name
.
name
,
direntry
);
cifs_dbg
(
FYI
,
"parent inode = 0x%p name is: %
pd
and dentry = 0x%p
\n
"
,
inode
,
direntry
,
direntry
);
tlink
=
cifs_sb_tlink
(
CIFS_SB
(
inode
->
i_sb
));
if
(
IS_ERR
(
tlink
))
{
...
...
@@ -540,8 +540,8 @@ int cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode,
struct
cifs_fid
fid
;
__u32
oplock
;
cifs_dbg
(
FYI
,
"cifs_create parent inode = 0x%p name is: %
s
and dentry = 0x%p
\n
"
,
inode
,
direntry
->
d_name
.
name
,
direntry
);
cifs_dbg
(
FYI
,
"cifs_create parent inode = 0x%p name is: %
pd
and dentry = 0x%p
\n
"
,
inode
,
direntry
,
direntry
);
tlink
=
cifs_sb_tlink
(
CIFS_SB
(
inode
->
i_sb
));
rc
=
PTR_ERR
(
tlink
);
...
...
@@ -713,8 +713,8 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
xid
=
get_xid
();
cifs_dbg
(
FYI
,
"parent inode = 0x%p name is: %
s
and dentry = 0x%p
\n
"
,
parent_dir_inode
,
direntry
->
d_name
.
name
,
direntry
);
cifs_dbg
(
FYI
,
"parent inode = 0x%p name is: %
pd
and dentry = 0x%p
\n
"
,
parent_dir_inode
,
direntry
,
direntry
);
/* check whether path exists */
...
...
@@ -833,7 +833,7 @@ cifs_d_revalidate(struct dentry *direntry, unsigned int flags)
{
int rc = 0;
cifs_dbg(FYI, "In cifs d_delete, name = %
s\n", direntry->d_name.name
);
cifs_dbg(FYI, "In cifs d_delete, name = %
pd\n", direntry
);
return rc;
} */
...
...
fs/cifs/file.c
View file @
35c265e0
...
...
@@ -1650,8 +1650,8 @@ cifs_write(struct cifsFileInfo *open_file, __u32 pid, const char *write_data,
cifs_sb
=
CIFS_SB
(
dentry
->
d_sb
);
cifs_dbg
(
FYI
,
"write %zd bytes to offset %lld of %
s
\n
"
,
write_size
,
*
offset
,
dentry
->
d_name
.
name
);
cifs_dbg
(
FYI
,
"write %zd bytes to offset %lld of %
pd
\n
"
,
write_size
,
*
offset
,
dentry
);
tcon
=
tlink_tcon
(
open_file
->
tlink
);
server
=
tcon
->
ses
->
server
;
...
...
@@ -2273,8 +2273,8 @@ int cifs_strict_fsync(struct file *file, loff_t start, loff_t end,
xid
=
get_xid
();
cifs_dbg
(
FYI
,
"Sync file - name: %
s
datasync: 0x%x
\n
"
,
file
->
f_path
.
dentry
->
d_name
.
name
,
datasync
);
cifs_dbg
(
FYI
,
"Sync file - name: %
pD
datasync: 0x%x
\n
"
,
file
,
datasync
);
if
(
!
CIFS_CACHE_READ
(
CIFS_I
(
inode
)))
{
rc
=
cifs_zap_mapping
(
inode
);
...
...
@@ -2315,8 +2315,8 @@ int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
xid
=
get_xid
();
cifs_dbg
(
FYI
,
"Sync file - name: %
s
datasync: 0x%x
\n
"
,
file
->
f_path
.
dentry
->
d_name
.
name
,
datasync
);
cifs_dbg
(
FYI
,
"Sync file - name: %
pD
datasync: 0x%x
\n
"
,
file
,
datasync
);
tcon
=
tlink_tcon
(
smbfile
->
tlink
);
if
(
!
(
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_NOSSYNC
))
{
...
...
fs/cifs/inode.c
View file @
35c265e0
...
...
@@ -1419,8 +1419,8 @@ cifs_posix_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode,
d_instantiate
(
dentry
,
newinode
);
#ifdef CONFIG_CIFS_DEBUG2
cifs_dbg
(
FYI
,
"instantiated dentry %p %
s
to inode %p
\n
"
,
dentry
,
dentry
->
d_name
.
name
,
newinode
);
cifs_dbg
(
FYI
,
"instantiated dentry %p %
pd
to inode %p
\n
"
,
dentry
,
dentry
,
newinode
);
if
(
newinode
->
i_nlink
!=
2
)
cifs_dbg
(
FYI
,
"unexpected number of links %d
\n
"
,
...
...
@@ -2111,8 +2111,8 @@ cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs)
struct
cifs_unix_set_info_args
*
args
=
NULL
;
struct
cifsFileInfo
*
open_file
;
cifs_dbg
(
FYI
,
"setattr_unix on file %
s
attrs->ia_valid=0x%x
\n
"
,
direntry
->
d_name
.
name
,
attrs
->
ia_valid
);
cifs_dbg
(
FYI
,
"setattr_unix on file %
pd
attrs->ia_valid=0x%x
\n
"
,
direntry
,
attrs
->
ia_valid
);
xid
=
get_xid
();
...
...
@@ -2254,8 +2254,8 @@ cifs_setattr_nounix(struct dentry *direntry, struct iattr *attrs)
xid
=
get_xid
();
cifs_dbg
(
FYI
,
"setattr on file %
s
attrs->iavalid 0x%x
\n
"
,
direntry
->
d_name
.
name
,
attrs
->
ia_valid
);
cifs_dbg
(
FYI
,
"setattr on file %
pd
attrs->iavalid 0x%x
\n
"
,
direntry
,
attrs
->
ia_valid
);
if
(
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_NO_PERM
)
attrs
->
ia_valid
|=
ATTR_FORCE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment