diff options
author | Arnd Bergmann <arnd@relay.de.ibm.com> | 2010-08-12 04:13:57 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2010-08-12 04:13:57 +0100 |
commit | 402ab352c2c00ba8f90c724565f8cf31210d99cf (patch) | |
tree | d24566917708f1624a7af33bc049aa5dfb24e96c /drivers/md/dm-crypt.c | |
parent | 3f77316de0ec0fd208467fbee8d9edc70e2c73b2 (diff) |
dm ioctl: use nonseekable_open
The dm control device does not implement read/write, so it has no use for
seeking. Using no_llseek prevents falling back to default_llseek, which
requires the BKL.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-crypt.c')
0 files changed, 0 insertions, 0 deletions