mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
smbfs: fix debug builds
Fix some warnings with SMBFS_DEBUG_* builds. This patch makes it so that builds with -Werror don't fail. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
60a0d23386
commit
dbaf4c024a
4 changed files with 7 additions and 6 deletions
|
@ -2593,7 +2593,7 @@ smb_proc_getattr_ff(struct smb_sb_info *server, struct dentry *dentry,
|
|||
fattr->f_mtime.tv_sec = date_dos2unix(server, date, time);
|
||||
fattr->f_mtime.tv_nsec = 0;
|
||||
VERBOSE("name=%s, date=%x, time=%x, mtime=%ld\n",
|
||||
mask, date, time, fattr->f_mtime);
|
||||
mask, date, time, fattr->f_mtime.tv_sec);
|
||||
fattr->f_size = DVAL(req->rq_data, 12);
|
||||
/* ULONG allocation size */
|
||||
fattr->attr = WVAL(req->rq_data, 20);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue