lkml.org 
[lkml]   [2018]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 32/39] vfs: fix freeze protection in mnt_want_write_file() for overlayfs
    On Tue, May 29, 2018 at 04:43:32PM +0200, Miklos Szeredi wrote:
    > The underlying real file used by overlayfs still contains the overlay path.
    > This results in mnt_want_write_file() calls by the filesystem getting
    > freeze protection on the wrong inode (the overlayfs one instead of the real
    > one).
    >
    > Fix by using file_inode(file)->i_sb instead of file->f_path.mnt->mnt_sb.

    Looks fine:

    Reviewed-by: Christoph Hellwig <hch@lst.de>

    \
     
     \ /
      Last update: 2018-06-04 10:51    [W:4.263 / U:0.180 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site