don't pass nameidata to ->create()

boolean "does it have to be exclusive?" flag is passed instead;
Local filesystem should just ignore it - the object is guaranteed
not to be there yet.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-06-10 18:05:36 -04:00
vanhempi 72bd866a01
commit ebfc3b49a7
51 muutettua tiedostoa jossa 62 lisäystä ja 64 poistoa

Näytä tiedosto

@@ -73,7 +73,7 @@ static inline void free_ea_wmap(struct inode *inode)
*
*/
static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode,
struct nameidata *nd)
bool excl)
{
int rc = 0;
tid_t tid; /* transaction id */