summaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2015-08-28 06:51:10 +0200
committerDave Chinner <david@fromorbit.com>2015-08-28 06:51:10 +0200
commit1a7ccad88d1bcebabc011b54a2f8615175e523fc (patch)
treec586b8b0d3d4ac614a7ead38c0ffd0eb205d4800 /lib/strncpy_from_user.c
parentxfs: add mssing inode cache attempts counter increment (diff)
downloadlinux-1a7ccad88d1bcebabc011b54a2f8615175e523fc.tar.xz
linux-1a7ccad88d1bcebabc011b54a2f8615175e523fc.zip
xfs: fix error gotos in xfs_setattr_nonsize
As the code stands today, if xfs_trans_reserve() fails, we goto out_dqrele, which does not free the allocated transaction. Fix up the goto targets to undo everything properly. Addresses-Coverity-Id: 145571 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions