Re: [PATCH 1/2] tmpfs: fix use-after-free of mempolicy object

2013-02-20 Thread Hugh Dickins
On Tue, 19 Feb 2013, Greg Thelen wrote: > The tmpfs remount logic preserves filesystem mempolicy if the mpol=M > option is not specified in the remount request. A new policy can be > specified if mpol=M is given. > > Before this patch remounting an mpol bound tmpfs without specifying > mpol= mou

[PATCH 1/2] tmpfs: fix use-after-free of mempolicy object

2013-02-19 Thread Greg Thelen
The tmpfs remount logic preserves filesystem mempolicy if the mpol=M option is not specified in the remount request. A new policy can be specified if mpol=M is given. Before this patch remounting an mpol bound tmpfs without specifying mpol= mount option in the remount request would set the filesy