fuse: use clamp() rather than nested min/max
commitbd7309677c937bf23296f6c81027123c84c5cc5c
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 1 May 2008 11:35:15 +0000 (1 04:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 May 2008 15:04:02 +0000 (1 08:04 -0700)
treeb5dfaf691425424c5f4a1ed23c1e019a111808fa
parent3dfcf9c4bf1fda4aa75861bcf6c50607dd322fe5
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