aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2023-12-13 23:02:35 +0000
committerGreg Kroah-Hartman <[email protected]>2023-12-15 12:14:55 +0000
commit134c6eaa6087d78c0e289931ca15ae7a5007670d (patch)
tree0e10125f77d933a9de5af421be775b477ca42389 /fs/ubifs/commit.c
parentMerge tag 'iio-fixes-for-6.7a' of https://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadkernel-134c6eaa6087d78c0e289931ca15ae7a5007670d.tar.gz
kernel-134c6eaa6087d78c0e289931ca15ae7a5007670d.zip
driver core: Add a guard() definition for the device_lock()
At present there are ~200 usages of device_lock() in the kernel. Some of those usages lead to "goto unlock;" patterns which have proven to be error prone. Define a "device" guard() definition to allow for those to be cleaned up and prevent new ones from appearing. Link: http://lore.kernel.org/r/657897453dda8_269bd29492@dwillia2-mobl3.amr.corp.intel.com.notmuch Link: http://lore.kernel.org/r/[email protected] Cc: Vishal Verma <[email protected]> Cc: Ira Weiny <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Dan Williams <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Reviewed-by: Vishal Verma <[email protected]> Link: https://lore.kernel.org/r/170250854466.1522182.17555361077409628655.stgit@dwillia2-xfh.jf.intel.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions