diff options
Diffstat (limited to 'fs/smbfs/inode.c')
-rw-r--r-- | fs/smbfs/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/smbfs/inode.c b/fs/smbfs/inode.c index 02e3e82d465c..fdeabc0a34f7 100644 --- a/fs/smbfs/inode.c +++ b/fs/smbfs/inode.c | |||
@@ -80,7 +80,8 @@ static int init_inodecache(void) | |||
80 | { | 80 | { |
81 | smb_inode_cachep = kmem_cache_create("smb_inode_cache", | 81 | smb_inode_cachep = kmem_cache_create("smb_inode_cache", |
82 | sizeof(struct smb_inode_info), | 82 | sizeof(struct smb_inode_info), |
83 | 0, SLAB_RECLAIM_ACCOUNT, | 83 | 0, (SLAB_RECLAIM_ACCOUNT| |
84 | SLAB_MEM_SPREAD), | ||
84 | init_once, NULL); | 85 | init_once, NULL); |
85 | if (smb_inode_cachep == NULL) | 86 | if (smb_inode_cachep == NULL) |
86 | return -ENOMEM; | 87 | return -ENOMEM; |
@@ -216,7 +217,7 @@ smb_set_inode_attr(struct inode *inode, struct smb_fattr *fattr) | |||
216 | 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) { |
217 | 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", |
218 | inode->i_ino, | 219 | inode->i_ino, |
219 | (long) last_time, (long) inode->i_mtime, | 220 | (long) last_time, (long) inode->i_mtime.tv_sec, |
220 | (long) last_sz, (long) inode->i_size); | 221 | (long) last_sz, (long) inode->i_size); |
221 | 222 | ||
222 | if (!S_ISDIR(inode->i_mode)) | 223 | if (!S_ISDIR(inode->i_mode)) |