]> git.karo-electronics.de Git - mv-sheeva.git/commit
cifs: eliminate pfile pointer from cifsFileInfo
authorJeff Layton <jlayton@redhat.com>
Fri, 15 Oct 2010 19:34:01 +0000 (15:34 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 18 Oct 2010 01:07:20 +0000 (01:07 +0000)
commit2e396b83f6087b78dac5a18d6d0cf9f8426a00b3
tree890c0af098920fe79e85f475a25fcc2f0d8c00bc
parent7da4b49a0ec481239d9cd51f7053aa8e4e191fa7
cifs: eliminate pfile pointer from cifsFileInfo

All the remaining users of cifsFileInfo->pfile just use it to get
at the f_flags/f_mode. Now that we store that separately in the
cifsFileInfo, there's no need to consult the pfile at all from
a cifsFileInfo pointer.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsglob.h
fs/cifs/dir.c
fs/cifs/file.c