[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 W.M.

[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