summaryrefslogtreecommitdiffstats
path: root/fs/afs/dir_edit.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-13 20:57:56 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-16 07:24:30 +0200
commitf7680bec0456403b4d3d7720e00b95586a7bc26b (patch)
treeb43eb7c33b024ad713ed8ec1fc230a8209f22207 /fs/afs/dir_edit.c
parent978547c5fbc10775be3b561a3ce7e1e90612b9c8 (diff)
downloadlinux-f7680bec0456403b4d3d7720e00b95586a7bc26b.tar.bz2
megaraid: simplify procfs code
Use remove_proc_subtree to remove the whole subtree on cleanup, and unwind the registration loop into individual calls. Switch to use proc_create_single. Also don't bother handling proc_create* failures - the driver works perfectly fine without the proc files, and the cleanup will handle missing files gracefully. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/afs/dir_edit.c')
0 files changed, 0 insertions, 0 deletions