]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: use clamp() rather than nested min/max
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 1 May 2008 11:35:15 +0000 (04:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:04:02 +0000 (08:04 -0700)
commit6f1f4aa3f86c072ec9951b53cb5ed6c1b9c4b21f
treeb5dfaf691425424c5f4a1ed23c1e019a111808fa
parent0ccb4cde164481815dedd29ff177cde282dd14d0
fuse: use clamp() rather than nested min/max

clamp() exists for this use.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/file.c