[PATCH 0/4] Consolidate debugfs mode checks in creation APIs

From: Stephen Boyd
Date: Mon Oct 12 2015 - 21:09:47 EST


Reviewing Viresh's patch it looks like there was some ample
opportunity to consolidate code here, and also close some
holes where variables are modifiable. Split into multiple
patches in case something causes regressions.

Stephen Boyd (4):
debugfs: Consolidate file mode checks in debugfs_create_*()
debugfs: Add read-only/write-only x64 file ops
debugfs: Add read-only/write-only size_t file ops
debugfs: Add read-only/write-only bool file ops

fs/debugfs/file.c | 123 ++++++++++++++++++++++++------------------------------
1 file changed, 54 insertions(+), 69 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/