sparc: Add support for seek and shorter read to /dev/mdesc
authorKhalid Aziz <khalid.aziz@oracle.com>
Fri, 18 Jul 2014 15:15:40 +0000 (09:15 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jul 2014 04:37:06 +0000 (21:37 -0700)
/dev/mdesc on Linux does not support reading arbitrary number
of bytes and seeking while /dev/mdesc on Solaris does. This
causes tools that work on Solaris to break on Linux. This patch
adds these two capabilities to /dev/mdesc.

Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found