diff options
author | Kirk True <kernel@kirkandsheila.com> | 2006-03-25 06:07:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 11:22:55 -0500 |
commit | 58bf6a2db2a4a1b41712674d9165510180259dec (patch) | |
tree | 0d9b02b152c5ddb4db6c0ae35f2c996c251eb451 /fs/smbfs | |
parent | ed1f559b9b9896ad40fe9606e0946efa590d7648 (diff) |
[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.c | 2 |
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) | |||
217 | if (inode->i_mtime.tv_sec != last_time || inode->i_size != last_sz) { | 217 | if (inode->i_mtime.tv_sec != last_time || inode->i_size != last_sz) { |
218 | VERBOSE("%ld changed, old=%ld, new=%ld, oz=%ld, nz=%ld\n", | 218 | VERBOSE("%ld changed, old=%ld, new=%ld, oz=%ld, nz=%ld\n", |
219 | inode->i_ino, | 219 | inode->i_ino, |
220 | (long) last_time, (long) inode->i_mtime, | 220 | (long) last_time, (long) inode->i_mtime.tv_sec, |
221 | (long) last_sz, (long) inode->i_size); | 221 | (long) last_sz, (long) inode->i_size); |
222 | 222 | ||
223 | if (!S_ISDIR(inode->i_mode)) | 223 | if (!S_ISDIR(inode->i_mode)) |