]> bbs.cooldavid.org Git - net-next-2.6.git/commit
cifs: add a CIFSSMBQFileInfo function
authorJeff Layton <jlayton@redhat.com>
Fri, 12 Feb 2010 12:44:16 +0000 (07:44 -0500)
committerSteve French <sfrench@us.ibm.com>
Sat, 6 Mar 2010 04:38:02 +0000 (04:38 +0000)
commitbcd5357f430363376565d07ca542127d6d36602c
treed92d915029eb1b06946de9deb91e5ab7604efa84
parentdf2cf170c823ba779ca339e3ede347c87f4dc6a9
cifs: add a CIFSSMBQFileInfo function

...to get inode attributes via filehandle instead of by path.

In some places, we need to revalidate an inode on an open filehandle,
but we can't necessarily guarantee that the dentry associated with it
will still be valid. When we have an open filehandle already, it makes
more sense to do a filehandle based operation anyway.

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