aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2011-03-20 22:59:02 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-03-20 22:59:02 -0400
commitd67d1218344009970ba0deb7eb15a3984518ddd0 (patch)
tree323e3fb76bdff2481fa35ce3aa82699434dae743 /fs/ext4/ioctl.c
parentext4: unify the ext4_handle_release_buffer() api (diff)
downloadlinux-dev-d67d1218344009970ba0deb7eb15a3984518ddd0.tar.xz
linux-dev-d67d1218344009970ba0deb7eb15a3984518ddd0.zip
ext4: handle errors in ext4_clear_blocks()
Checking return code from ext4_journal_get_write_access() is important with snapshots, because this function invokes COW, so may return new errors, such as ENOSPC. ext4_clear_blocks() now returns < 0 for fatal errors, in which case, ext4_free_data() is aborted. Signed-off-by: Amir Goldstein <amir73il@users.sf.net> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions