commit | 254ae43ab8d7877c980fca3636624e0777a70fa4 | [log] [tgz] |
---|---|---|
author | Masatake YAMATO <yamato@redhat.com> | Wed May 28 14:45:10 2008 +0900 |
committer | David Teigland <teigland@redhat.com> | Mon Jul 14 13:56:59 2008 -0500 |
tree | 2a68101ba1c053d167a3f5effed6c33ab1043972 | |
parent | bce7f793daec3e65ec5c5705d2457b81fe7b5725 [diff] |
dlm: check for null in device_write If `device_write' method is called via "dlm-control", file->private_data is NULL. (See ctl_device_open() in user.c. ) Through proc->flags is read. Signed-off-by: Masatake YAMATO <yamato@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>