diff options
Diffstat (limited to 'fs/nfs/dir.c')
-rw-r--r-- | fs/nfs/dir.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 55438c970cbf..627f108ede23 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -936,6 +936,7 @@ void nfs_force_lookup_revalidate(struct inode *dir) | |||
936 | { | 936 | { |
937 | NFS_I(dir)->cache_change_attribute++; | 937 | NFS_I(dir)->cache_change_attribute++; |
938 | } | 938 | } |
939 | EXPORT_SYMBOL_GPL(nfs_force_lookup_revalidate); | ||
939 | 940 | ||
940 | /* | 941 | /* |
941 | * A check for whether or not the parent directory has changed. | 942 | * A check for whether or not the parent directory has changed. |
@@ -1267,7 +1268,7 @@ out: | |||
1267 | } | 1268 | } |
1268 | EXPORT_SYMBOL_GPL(nfs_lookup); | 1269 | EXPORT_SYMBOL_GPL(nfs_lookup); |
1269 | 1270 | ||
1270 | #ifdef CONFIG_NFS_V4 | 1271 | #if IS_ENABLED(CONFIG_NFS_V4) |
1271 | static int nfs4_lookup_revalidate(struct dentry *, unsigned int); | 1272 | static int nfs4_lookup_revalidate(struct dentry *, unsigned int); |
1272 | 1273 | ||
1273 | const struct dentry_operations nfs4_dentry_operations = { | 1274 | const struct dentry_operations nfs4_dentry_operations = { |
@@ -1277,6 +1278,7 @@ const struct dentry_operations nfs4_dentry_operations = { | |||
1277 | .d_automount = nfs_d_automount, | 1278 | .d_automount = nfs_d_automount, |
1278 | .d_release = nfs_d_release, | 1279 | .d_release = nfs_d_release, |
1279 | }; | 1280 | }; |
1281 | EXPORT_SYMBOL_GPL(nfs4_dentry_operations); | ||
1280 | 1282 | ||
1281 | static fmode_t flags_to_mode(int flags) | 1283 | static fmode_t flags_to_mode(int flags) |
1282 | { | 1284 | { |
@@ -1419,6 +1421,7 @@ no_open: | |||
1419 | 1421 | ||
1420 | return finish_no_open(file, res); | 1422 | return finish_no_open(file, res); |
1421 | } | 1423 | } |
1424 | EXPORT_SYMBOL_GPL(nfs_atomic_open); | ||
1422 | 1425 | ||
1423 | static int nfs4_lookup_revalidate(struct dentry *dentry, unsigned int flags) | 1426 | static int nfs4_lookup_revalidate(struct dentry *dentry, unsigned int flags) |
1424 | { | 1427 | { |
@@ -2142,6 +2145,7 @@ int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) | |||
2142 | { | 2145 | { |
2143 | return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags)); | 2146 | return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags)); |
2144 | } | 2147 | } |
2148 | EXPORT_SYMBOL_GPL(nfs_may_open); | ||
2145 | 2149 | ||
2146 | int nfs_permission(struct inode *inode, int mask) | 2150 | int nfs_permission(struct inode *inode, int mask) |
2147 | { | 2151 | { |