ovl: fix overlay: warning prefix
Subsystems (2)
Amir Goldstein
maintainerPATCH 1/1 ovl: fix overlay: warning prefix
Conform two stray warning messages to the standard overlayfs: prefix.
--- fs/overlayfs/dir.c | 3 ++- fs/overlayfs/readdir.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
fs/overlayfs/dir.c +2 -1
@@ -887,7 +887,8 @@ static int ovl_set_redirect(struct dentry *dentry, bool samedir)spin_unlock (&dentry->d_lock); }else {kfree (redirect); -pr_warn_ratelimited ("overlay: failed to set redirect (%i)\n" , err); +pr_warn_ratelimited ("overlayfs: failed to set redirect (%i)\n" , + err);/* Fall back to userspace copy-up */ err = -EXDEV ; }
fs/overlayfs/readdir.c +1 -1
@@ -499,7 +499,7 @@ static int ovl_cache_update_ino(struct path *path, struct ovl_cache_entry *p)return err; fail: -pr_warn_ratelimited ("overlay: failed to look up (%s) for ino (%i)\n" , +pr_warn_ratelimited ("overlayfs: failed to look up (%s) for ino (%i)\n" , p->name, err); goto out; }
Signature · 1 line
2.7.4
Amir Goldstein
maintainerQuoted 27 lines · Amir Goldstein
Conform two stray warning messages to the standard overlayfs: prefix.
Signed-off-by Amir Goldstein <[email protected]>--- fs/overlayfs/dir.c | 3 ++- fs/overlayfs/readdir.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)fs/overlayfs/dir.c +2
-1@@ -887,7 +887,8 @@ static int ovl_set_redirect(struct dentry *dentry, bool samedir)spin_unlock (&dentry->d_lock); }else {kfree (redirect); -pr_warn_ratelimited ("overlay: failed to set redirect (%i)\n" , err); +pr_warn_ratelimited ("overlayfs: failed to set redirect (%i)\n" , + err);/* Fall back to userspace copy-up */ err = -EXDEV ; }fs/overlayfs/readdir.c +0
-0
fs/overlayfs/readdir.c static int ovl_cache_update_ino(struct path *path, struct ovl_cache_entry *p)
Quoted 9 lines
fs/overlayfs/readdir.c +1
-2@@ -499,7 +499,7 @@ static int ovl_cache_update_ino(struct path *path, struct ovl_cache_entry *p)return err; fail: -pr_warn_ratelimited ("overlay: failed to look up (%s) for ino (%i)\n" , +pr_warn_ratelimited ("overlayfs: failed to look up (%s) for ino (%i)\n" , p->name, err); goto out; } --
Ping
Quoted 30 lines · Amir Goldstein
Quoted 29 lines · Amir Goldstein
Conform two stray warning messages to the standard overlayfs: prefix.
Signed-off-by Amir Goldstein <[email protected]>--- fs/overlayfs/dir.c | 3 ++- fs/overlayfs/readdir.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)fs/overlayfs/dir.c +2
-1@@ -887,7 +887,8 @@ static int ovl_set_redirect(struct dentry *dentry, bool samedir)spin_unlock (&dentry->d_lock); }else {kfree (redirect); -pr_warn_ratelimited ("overlay: failed to set redirect (%i)\n" , err); +pr_warn_ratelimited ("overlayfs: failed to set redirect (%i)\n" , + err);/* Fall back to userspace copy-up */ err = -EXDEV ; }fs/overlayfs/readdir.c +0
-0@@ -499,7 +499,7 @@ static int ovl_cache_update_ino(struct path *path, struct ovl_cache_entry *p)return err;
Quoted 9 lines
fs/overlayfs/readdir.c static int ovl_cache_update_ino(struct path *path, struct ovl_cache_entry *p)
Quoted 7 lines
fs/overlayfs/readdir.c +1
-2fail: -pr_warn_ratelimited ("overlay: failed to look up (%s) for ino (%i)\n" , +pr_warn_ratelimited ("overlayfs: failed to look up (%s) for ino (%i)\n" , p->name, err); goto out; } --Ping
Applied, thanks.
Anything else I missed that need to be sent to 4.15-rc?
Thanks,
Miklos
Amir Goldstein
maintainerQuoted 4 lines · Amir Goldstein
Conform two stray warning messages to the standard overlayfs: prefix.
Signed-off-by Amir Goldstein <[email protected]>---
Greg,
Upstream commit ("da2e6b7eeda8 ovl: fix overlay: warning prefix") was not marked for stable, because it is not a bug fix per-se. Nevertheless, it may be useful to apply it to stable kernels to keep overlayfs bug reports/analysis consistent.
The first hunk fixes (#v4.10):a6c606551141 ovl: redirect on rename-dir
The second hunk fixes (#v4.14):b5efccbe0a12 ovl: constant d_ino across copy up
For your consideration.
If you wish, I can send a patch for v4.10 with just the first hunk.
Thanks,
Amir.
Greg KH
maintainerQuoted 13 lines · Amir Goldstein
Quoted 4 lines · Amir Goldstein
Conform two stray warning messages to the standard overlayfs: prefix.
Signed-off-by Amir Goldstein <[email protected]>---
Greg,
Upstream commit ("
da2e6b7eeda8ovl: fix overlay: warning prefix") was not marked for stable, because it is not a bug fix per-se. Nevertheless, it may be useful to apply it to stable kernels to keep overlayfs bug reports/analysis consistent.
Quoted 8 lines
The first hunk fixes (#v4.10):
a6c606551141ovl: redirect on rename-dirThe second hunk fixes (#v4.14):
b5efccbe0a12ovl: constantd_inoacross copy upFor your consideration.
If you wish, I can send a patch for v4.10 with just the first hunk.
4.10 is long end-of-life, so I don't think that matters :)
As for 4.14, this is just an error message, I don't think it's that serious of a fix for a stable kernel, do you? It's _this_ close to just being a spelling fix.
thanks,
greg k-h
Amir Goldstein
maintainerQuoted 17 lines · Greg KH
Quoted 16 lines · Amir Goldstein
Quoted 4 lines · Amir Goldstein
Conform two stray warning messages to the standard overlayfs: prefix.
Signed-off-by Amir Goldstein <[email protected]>---
Greg,
Upstream commit ("
da2e6b7eeda8ovl: fix overlay: warning prefix") was not marked for stable, because it is not a bug fix per-se. Nevertheless, it may be useful to apply it to stable kernels to keep overlayfs bug reports/analysis consistent.The first hunk fixes (#v4.10):
a6c606551141ovl: redirect on rename-dir
Quoted 8 lines
Quoted 5 lines
The second hunk fixes (#v4.14):
b5efccbe0a12ovl: constantd_inoacross copy upFor your consideration.
If you wish, I can send a patch for v4.10 with just the first hunk.4.10 is long end-of-life, so I don't think that matters :)
Yeh, I thought 4.13 was still around, but it's not...
Quoted 5 lines
As for 4.14, this is just an error message, I don't think it's that serious of a fix for a stable kernel, do you? It's _this_ close to just being a spelling fix.
Not serious at all.
It's just that collecting overlayfs output from kmsg on bug reports is one notch easier to request.
I can certainly live without it being in a stable.
Thanks,
Amir.