diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.de> | 2015-09-05 00:44:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-05 01:54:41 +0200 |
commit | 34237681e02ad1617138926f437d0a147249ec13 (patch) | |
tree | b84561d857d8c94a07e78b402ea81afe0c25a5af /fs/ext4/xattr_security.c | |
parent | ocfs2: acknowledge return value of ocfs2_error() (diff) | |
download | linux-34237681e02ad1617138926f437d0a147249ec13.tar.xz linux-34237681e02ad1617138926f437d0a147249ec13.zip |
ocfs2: clear the rest of the buffers on error
In case a validation fails, clear the rest of the buffers and return the
error to the calling function.
This also facilitates bubbling up the error originating from ocfs2_error
to calling functions.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext4/xattr_security.c')
0 files changed, 0 insertions, 0 deletions