smbfs: Fix debug logging-only compilation error
PATCH 1/1 smbfs: Fix debug logging-only compilation error
Version: 2.6.16-rc5
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 <[email protected]>
fs/smbfs/inode.c 2006-03-02 23:12:34.000000000 -0800 renamed from fs/smbfs/inode.c 2006-03-02 23:52:17.000000000 -0800 +1 -1
@@ -216,7 +216,7 @@ 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))