From: Ian Abbott Date: Fri, 8 Nov 2013 15:03:29 +0000 (+0000) Subject: staging: comedi: add detachment counter for validity checks X-Git-Tag: v3.14-rc1~150^2~775^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef77c0b2570623f1d72527cb1c6c3f3d3c59793e;p=pandora-kernel.git staging: comedi: add detachment counter for validity checks Add a member `detach_count` to `struct comedi_device` that is incremented every time the device gets detached. This will be used in some validity checks in the 'read' and 'write' file operations to make sure the attachment remains valid. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed