[PATCH 2/4] vfs: atomic_open(): fix create mode usage

2012-08-15 Thread Miklos Szeredi
From: Miklos Szeredi Don't mask S_ISREG off the create mode before passing to ->atomic_open(). Other methods (->create, ->mknod) also get the complete file mode and filesystems expect it. Reported-by: Steve Reported-by: Richard W.M. Jones Signed-off-by: Miklos Szeredi Tested-by: Richard

[PATCH 2/4] vfs: atomic_open(): fix create mode usage

2012-08-15 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Don't mask S_ISREG off the create mode before passing to -atomic_open(). Other methods (-create, -mknod) also get the complete file mode and filesystems expect it. Reported-by: Steve steveamig...@yahoo.co.uk Reported-by: Richard W.M. Jones rjo...@redhat.com

[PATCH 2/4] vfs: atomic_open(): fix create mode usage

2012-08-07 Thread Miklos Szeredi
From: Miklos Szeredi Don't mask S_ISREG off the create mode before passing to ->atomic_open(). Other methods (->create, ->mknod) also get the complete file mode and filesystems expect it. Reported-by: Steve Reported-by: Richard W.M. Jones Signed-off-by: Miklos Szeredi --- fs/namei.c |2

[PATCH 2/4] vfs: atomic_open(): fix create mode usage

2012-08-07 Thread Miklos Szeredi
From: Miklos Szeredi mszer...@suse.cz Don't mask S_ISREG off the create mode before passing to -atomic_open(). Other methods (-create, -mknod) also get the complete file mode and filesystems expect it. Reported-by: Steve steveamig...@yahoo.co.uk Reported-by: Richard W.M. Jones rjo...@redhat.com