summaryrefslogtreecommitdiff
path: root/fs/smbfs
diff options
context:
space:
mode:
authorKirk True <kernel@kirkandsheila.com>2006-03-25 14:07:30 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 19:22:55 +0300
commit58bf6a2db2a4a1b41712674d9165510180259dec (patch)
tree0d9b02b152c5ddb4db6c0ae35f2c996c251eb451 /fs/smbfs
parented1f559b9b9896ad40fe9606e0946efa590d7648 (diff)
downloadlinux-58bf6a2db2a4a1b41712674d9165510180259dec.tar.xz
[PATCH] smbfs: Fix debug logging-only compilation error
When SMBFS_DEBUG_VERBOSE is #define-d, the compile breaks: fs/smbfs/inode.c:217: error: aggregate value used where an integer was expected This is a simple matter of using the .tv_sec attribute of struct time_spec. Signed-off-by: Kirk True <kernel@kirkandsheila.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/smbfs')
-rw-r--r--fs/smbfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c
index 44ed1d418b46..fdeabc0a34f7 100644
--- a/fs/smbfs/inode.c
+++ b/fs/smbfs/inode.c
@@ -217,7 +217,7 @@ smb_set_inode_attr(struct inode *inode, struct smb_fattr *fattr)
if (inode->i_mtime.tv_sec != last_time || inode->i_size != last_sz) {
VERBOSE("%ld changed, old=%ld, new=%ld, oz=%ld, nz=%ld\n",
inode->i_ino,
- (long) last_time, (long) inode->i_mtime,
+ (long) last_time, (long) inode->i_mtime.tv_sec,
(long) last_sz, (long) inode->i_size);
if (!S_ISDIR(inode->i_mode))