From: David Rientjes Date: Thu, 27 Sep 2007 20:41:17 +0000 (-0700) Subject: pci: write file size to inode on proc bus file write X-Git-Tag: v2.6.24-rc1~1393^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecb3908046ce9ce7feb44e2c2cf77ccdbe231f70;p=pandora-kernel.git pci: write file size to inode on proc bus file write When a /proc/bus/pci file is written to, the size of that PCI device's configuration space must be written to the inode. Otherwise, it is possible for the file to specify a size of 0 on stat if a task is holding the same file open. Signed-off-by: David Rientjes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed