mfd: add platform_device sharing support for mfd
[platform/kernel/linux-rpi.git] / fs / nfs / file.c
index 7bf029e..d85a534 100644 (file)
@@ -387,10 +387,6 @@ static int nfs_write_begin(struct file *file, struct address_space *mapping,
                file->f_path.dentry->d_name.name,
                mapping->host->i_ino, len, (long long) pos);
 
-       pnfs_update_layout(mapping->host,
-                          nfs_file_open_context(file),
-                          IOMODE_RW);
-
 start:
        /*
         * Prevent starvation issues if someone is doing a consistency