]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit07d66921337176e9d27e4d0a8a23425c8284a381
tree84880064d92c2f597d0dd5622f7469d96f0372b3
parente7fbaf016e917a14b5cbed7a724e0a45338700ee
sparc: Add support for seek and shorter read to /dev/mdesc

/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>
arch/sparc/kernel/mdesc.c