summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2_lockingver.h
diff options
context:
space:
mode:
authorYounger Liu <younger.liu@huawei.com>2013-11-13 00:07:05 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-13 04:09:02 +0100
commitbfbca926d67c9bf3212d1077c6afd48d2995a285 (patch)
tree84b4717ceef6ab721d527e6a8706b9bd02eeda51 /fs/ocfs2/ocfs2_lockingver.h
parentocfs2: do not call brelse() if group_bh is not initialized in ocfs2_group_add() (diff)
downloadlinux-bfbca926d67c9bf3212d1077c6afd48d2995a285.tar.xz
linux-bfbca926d67c9bf3212d1077c6afd48d2995a285.zip
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 <younger.liu@huawei.com> Signed-off-by: Jie Liu <jeff.liu@oracle.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Jie Liu <jeff.liu@oracle.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/ocfs2_lockingver.h')
0 files changed, 0 insertions, 0 deletions