git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: export 'ro' sysfs attribute for partitions
[pandora-kernel.git]
/
fs
/
nfs
/
getroot.c
diff --git
a/fs/nfs/getroot.c
b/fs/nfs/getroot.c
index
7428f7d
..
a70e446
100644
(file)
--- a/
fs/nfs/getroot.c
+++ b/
fs/nfs/getroot.c
@@
-146,7
+146,7
@@
int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh)
goto out;
}
- if (!(fsinfo.fattr->valid & NFS_ATTR_FATTR_
MOD
E)
+ if (!(fsinfo.fattr->valid & NFS_ATTR_FATTR_
TYP
E)
|| !S_ISDIR(fsinfo.fattr->mode)) {
printk(KERN_ERR "nfs4_get_rootfh:"
" getroot encountered non-directory\n");