cifs: add cifs_revalidate_file
authorJeff Layton <jlayton@redhat.com>
Fri, 12 Feb 2010 12:44:18 +0000 (07:44 -0500)
committerSteve French <sfrench@us.ibm.com>
Tue, 9 Mar 2010 20:22:53 +0000 (20:22 +0000)
commitabab095d1fd25986b910d3c46289d8fa3582cdc5
tree2b70291e5159f9a8332cbeb17b21999962eadad0
parentc8634fd3115497ac311f57be9c12f993437745cf
cifs: add cifs_revalidate_file

...to allow updating inode attributes on an existing inode by
filehandle. Change mmap and llseek codepaths to use that
instead of cifs_revalidate_dentry since they have a filehandle
readily available.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsfs.h
fs/cifs/cifsproto.h
fs/cifs/file.c
fs/cifs/inode.c