]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libnvdimm: Clean-up access mode check.
authorJerry Hoemann <jerry.hoemann@hpe.com>
Wed, 6 Jan 2016 23:03:39 +0000 (16:03 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 20:24:06 +0000 (12:24 -0800)
commit4dc0e7be884e0f99211107dd75e6e1884b7b3754
treeb52fb5930869ec94ae80f607fbf3510d69e32e57
parentf471f1a7d0aa58c609e665514010650b2afa24b6
libnvdimm: Clean-up access mode check.

Change nd_ioctl and nvdimm_ioctl access mode check to use O_RDONLY.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/bus.c