/* * * Copyright (C) 2011 Novell Inc. * Copyright (C) 2016 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ struct ovl_config { char *lowerdir; char *upperdir; char *workdir; bool default_permissions; bool redirect_dir; }; /* private information held for overlayfs's superblock */ struct ovl_fs { struct vfsmount *upper_mnt; unsigned numlower; struct vfsmount **lower_mnt; struct dentry *workdir; long namelen; /* pathnames of lower and upper dirs, for show_options */ struct ovl_config config; /* creds of process who forced instantiation of super block */ const struct cred *creator_cred; }; /* private information held for every overlayfs dentry */ struct ovl_entry { struct dentry *__upperdentry; struct ovl_dir_cache *cache; union { struct { u64 version; const char *redirect; bool opaque; }; struct rcu_head rcu; }; unsigned numlower; struct path lowerstack[]; }; struct ovl_entry *ovl_alloc_entry(unsigned int numlower); static inline struct dentry *ovl_upperdentry_dereference(struct ovl_entry *oe) { return lockless_dereference(oe->__upperdentry); } ption> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/power/cpupower/debug/i386/dump_psb.c
ption>
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-01-23 13:13:58 -0200
committerZhang Rui <rui.zhang@intel.com>2017-01-25 09:51:08 +0800
commit3feb479cea37fc623cf4e705631b2e679cbfbd7a (patch)
treee9ff7cb97c3819034528e091b784a7a397bccf6e /net/dsa
parent883af14e67e8b8702b5560aa64c888c0cd0bd66c (diff)
Revert "thermal: thermal_hwmon: Convert to hwmon_device_register_with_info()"
This reverts commit 7611fb68062f ("thermal: thermal_hwmon: Convert to hwmon_device_register_with_info()"). Pavel Machek reported breakage in the Nokia N900 due to this commit. We can revisit a proper fix for the warning later. Reported-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'net/dsa')