diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-19 12:36:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-19 12:36:18 -0400 |
commit | 0a492fdef8aa241f6139e6455e852cc710ae8ed1 (patch) | |
tree | ba86b707f99f48626824bc301a575d4ac4bd6e6a /fs/cifs/cifsfs.c | |
parent | 39710479303fd3affb3e204e9a7a75cc676977b5 (diff) | |
parent | 8212cf7583a5ba5d213d9c9180be808222a2813f (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
cifs: trivial white space
[CIFS] checkpatch cleanup
cifs: add cifs_revalidate_file
cifs: add a CIFSSMBUnixQFileInfo function
cifs: add a CIFSSMBQFileInfo function
cifs: overhaul cifs_revalidate and rename to cifs_revalidate_dentry
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 8c6a03627176..5183bc2a1916 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -312,6 +312,7 @@ cifs_alloc_inode(struct super_block *sb) | |||
312 | cifs_inode->clientCanCacheRead = false; | 312 | cifs_inode->clientCanCacheRead = false; |
313 | cifs_inode->clientCanCacheAll = false; | 313 | cifs_inode->clientCanCacheAll = false; |
314 | cifs_inode->delete_pending = false; | 314 | cifs_inode->delete_pending = false; |
315 | cifs_inode->invalid_mapping = false; | ||
315 | cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ | 316 | cifs_inode->vfs_inode.i_blkbits = 14; /* 2**14 = CIFS_MAX_MSGSIZE */ |
316 | cifs_inode->server_eof = 0; | 317 | cifs_inode->server_eof = 0; |
317 | 318 | ||
@@ -638,7 +639,7 @@ static loff_t cifs_llseek(struct file *file, loff_t offset, int origin) | |||
638 | setting the revalidate time to zero */ | 639 | setting the revalidate time to zero */ |
639 | CIFS_I(file->f_path.dentry->d_inode)->time = 0; | 640 | CIFS_I(file->f_path.dentry->d_inode)->time = 0; |
640 | 641 | ||
641 | retval = cifs_revalidate(file->f_path.dentry); | 642 | retval = cifs_revalidate_file(file); |
642 | if (retval < 0) | 643 | if (retval < 0) |
643 | return (loff_t)retval; | 644 | return (loff_t)retval; |
644 | } | 645 | } |