]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/super.c
NFS: Don't apply NFS_MOUNT_FLAGMASK to text-based mounts
[linux-2.6-omap-h63xx.git] / fs / nfs / super.c
index e527fab40419e4ad5619e74db72ffc589e11e930..81686aeb1b5de0f330e929661dc3d16382bad01f 100644 (file)
@@ -1550,7 +1550,7 @@ static int nfs_validate_mount_data(void *options,
                 * Translate to nfs_parsed_mount_data, which nfs_fill_super
                 * can deal with.
                 */
-               args->flags             = data->flags;
+               args->flags             = data->flags & NFS_MOUNT_FLAGMASK;
                args->rsize             = data->rsize;
                args->wsize             = data->wsize;
                args->timeo             = data->timeo;