Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-22 Thread Daniel Axtens
>> From: Miklos Szeredi >> >> This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make >> f_path always point to the overlay and f_inode to the underlay"). >> >> Regular files opened on overlayfs will result in the file being opened on >> the underlying

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-22 Thread Daniel Axtens
>> From: Miklos Szeredi >> >> This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make >> f_path always point to the overlay and f_inode to the underlay"). >> >> Regular files opened on overlayfs will result in the file being opened on >> the underlying filesystem, while

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-21 Thread Miklos Szeredi
On Mon, Mar 21, 2016 at 6:28 AM, Al Viro wrote: > On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: >> Add a new helper, file_dentry() [*], to get the filesystem's own dentry >> from the file. This simply compares file_inode(file->f_path.dentry) to >>

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-21 Thread Miklos Szeredi
On Mon, Mar 21, 2016 at 6:28 AM, Al Viro wrote: > On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: >> Add a new helper, file_dentry() [*], to get the filesystem's own dentry >> from the file. This simply compares file_inode(file->f_path.dentry) to >> file_inode(file) and if they

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-20 Thread Al Viro
On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: > Add a new helper, file_dentry() [*], to get the filesystem's own dentry > from the file. This simply compares file_inode(file->f_path.dentry) to > file_inode(file) and if they are equal returns file->f_path.dentry (this is > the

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-20 Thread Al Viro
On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: > Add a new helper, file_dentry() [*], to get the filesystem's own dentry > from the file. This simply compares file_inode(file->f_path.dentry) to > file_inode(file) and if they are equal returns file->f_path.dentry (this is > the

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-20 Thread Al Viro
On Mon, Mar 21, 2016 at 01:02:15AM -0400, Theodore Ts'o wrote: > I have this patch in the ext4.git tree, but I'd like to get an > Acked-by from Al before I send a pull request to Linus. > > Al? Any objections to my sending in this change via the ext4 tree? >

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-20 Thread Al Viro
On Mon, Mar 21, 2016 at 01:02:15AM -0400, Theodore Ts'o wrote: > I have this patch in the ext4.git tree, but I'd like to get an > Acked-by from Al before I send a pull request to Linus. > > Al? Any objections to my sending in this change via the ext4 tree? >

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-20 Thread Theodore Ts'o
On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: > From: Miklos Szeredi > > This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make > f_path always point to the overlay and f_inode to the underlay"). > > Regular files opened on overlayfs

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-20 Thread Theodore Ts'o
On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: > From: Miklos Szeredi > > This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make > f_path always point to the overlay and f_inode to the underlay"). > > Regular files opened on overlayfs will result in the

[PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Miklos Szeredi
From: Miklos Szeredi This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay"). Regular files opened on overlayfs will result in the file being opened on the underlying filesystem, while

[PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Miklos Szeredi
From: Miklos Szeredi This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay"). Regular files opened on overlayfs will result in the file being opened on the underlying filesystem, while f_path points to the

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Theodore Ts'o
On Thu, Mar 17, 2016 at 11:15:26AM +0100, Sedat Dilek wrote: > > Is that correct the ext4-related patches 3/4 and 4/4 are Linux-v4.5 material? > Not applicable fpr v4.4.y-stable? 4.5 has already been released, but I think these patches are suitable for the v4.[345].y-stable branch (which I think

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Theodore Ts'o
On Thu, Mar 17, 2016 at 11:15:26AM +0100, Sedat Dilek wrote: > > Is that correct the ext4-related patches 3/4 and 4/4 are Linux-v4.5 material? > Not applicable fpr v4.4.y-stable? 4.5 has already been released, but I think these patches are suitable for the v4.[345].y-stable branch (which I think

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 10:33 AM, Miklos Szeredi wrote: > On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: >> On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: >>> From: Miklos Szeredi >>> >>> This

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 10:33 AM, Miklos Szeredi wrote: > On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: >> On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: >>> From: Miklos Szeredi >>> >>> This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make >>> f_path

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Miklos Szeredi
On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: > On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: >> From: Miklos Szeredi >> >> This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make >> f_path

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Miklos Szeredi
On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: > On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: >> From: Miklos Szeredi >> >> This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make >> f_path always point to the overlay and f_inode to the underlay"). >> > >

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: > From: Miklos Szeredi > > This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make > f_path always point to the overlay and f_inode to the underlay"). > Can you put that series

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-19 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: > From: Miklos Szeredi > > This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make > f_path always point to the overlay and f_inode to the underlay"). > Can you put that series in your vfs.git tree? Easier for getting

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-18 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 11:15 AM, Sedat Dilek wrote: > On Thu, Mar 17, 2016 at 10:33 AM, Miklos Szeredi wrote: >> On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: >>> On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-18 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 11:15 AM, Sedat Dilek wrote: > On Thu, Mar 17, 2016 at 10:33 AM, Miklos Szeredi wrote: >> On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: >>> On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: From: Miklos Szeredi This series fixes bugs in nfs