libfs: make simple attributes interruptible
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Feb 2008 12:20:27 +0000 (04:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:34 +0000 (09:22 -0800)
commit9261303ab7589cda6a3b95f9f80c9063538dc335
tree03a46d0bb81dd0d0e56f3f3d73a15a42e698076a
parent8b88b0998e35d239e74446cc30f354bdab86df89
libfs: make simple attributes interruptible

Use mutex_lock_interruptible in simple_attr_read/write.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: <stefano.brivio@polimi.it>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg KH <greg@kroah.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/libfs.c