summaryrefslogtreecommitdiffstats
path: root/block/deadline-iosched.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-05-12 23:02:33 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-13 17:02:26 +0200
commitf36f21ecca9ee688301174e5f2e0827827a7a7ff (patch)
treeb147bb5cc37683dfe01c86fba634808aa2ff567d /block/deadline-iosched.c
parentfuse: add flag to turn on big writes (diff)
downloadlinux-f36f21ecca9ee688301174e5f2e0827827a7a7ff.tar.xz
linux-f36f21ecca9ee688301174e5f2e0827827a7a7ff.zip
Fix misuses of bdevname()
bdevname() fills the buffer that it is given as a parameter, so calling strcpy() or snprintf() on the returned value is redundant (and probably not guaranteed to work - I don't think strcpy and snprintf support overlapping buffers.) Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Stephen Tweedie <sct@redhat.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions