From: Younger Liu Date: Tue, 12 Nov 2013 23:07:05 +0000 (-0800) Subject: ocfs2: add missing errno in ocfs2_ioctl_move_extents() X-Git-Tag: v3.13-rc1~106^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfbca926d67c9bf3212d1077c6afd48d2995a285;p=pandora-kernel.git ocfs2: add missing errno in ocfs2_ioctl_move_extents() If the file is not regular or writeable, it should return errno(EPERM). This patch is based on 85a258b70d ("ocfs2: fix error handling in ocfs2_ioctl_move_extents()"). Signed-off-by: Younger Liu Signed-off-by: Jie Liu Reviewed-by: Dan Carpenter Reviewed-by: Jie Liu Cc: Joel Becker Cc: Mark Fasheh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed