projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACPI: Run fixed event device notifications in process context
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
super.c
diff --git
a/fs/super.c
b/fs/super.c
index
80d5cf2
..
7624267
100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-802,7
+802,10
@@
void emergency_remount(void)
static DEFINE_IDA(unnamed_dev_ida);
static DEFINE_SPINLOCK(unnamed_dev_lock);/* protects the above */
static DEFINE_IDA(unnamed_dev_ida);
static DEFINE_SPINLOCK(unnamed_dev_lock);/* protects the above */
-static int unnamed_dev_start = 0; /* don't bother trying below it */
+/* Many userspace utilities consider an FSID of 0 invalid.
+ * Always return at least 1 from get_anon_bdev.
+ */
+static int unnamed_dev_start = 1;
int get_anon_bdev(dev_t *p)
{
int get_anon_bdev(dev_t *p)
{