]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: simplify /proc teardown & error handling
authorEric Sandeen <sandeen@redhat.com>
Mon, 12 Oct 2015 07:21:22 +0000 (18:21 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 12 Oct 2015 07:21:22 +0000 (18:21 +1100)
commit62d6dbee4382f432d9b66db8c5fe0b7c8d5092b2
treefb22b5dc75b8049a663990e5238a2ebcf3e7b79a
parent31dcfc66040fcbf40c455f1d6ba4db903e4bcd65
xfs: simplify /proc teardown & error handling

remove_proc_subtree() was added in 3.9, and can be
used to simplify our procfile creation error handling
and cleanup, removing the nested gotos.  It simply
removes fs/xfs and everything created under it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_stats.c