diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-18 18:32:44 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-18 18:32:44 -0400 |
| commit | 161fb0cf5c7e94cd0490e4bd04edcf1e24d1d288 (patch) | |
| tree | 38b0da03ce66f053e8cfed6c081c62aef22a544d /fs/nfs/nfs4namespace.c | |
| parent | b8291ad07a7f3b5b990900f0001198ac23ba893e (diff) | |
| parent | b4528762ca92261c6ed3f03e76adeb1dc587aacb (diff) | |
Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
SUNRPC: AUTH_SYS "machine creds" shouldn't use negative valued uid/gid
nfs: make nfs4_drop_state_owner() static
nfs: path_{get,put}() cleanups
nfs: replace remaining __FUNCTION__ occurrences
nfs/lsm: make NFSv4 set LSM mount options
NFSv4: Check the return value of decode_compound_hdr_arg()
nfs: fix race in nfs_dirty_request
NFS: Ensure that 'noac' and/or 'actimeo=0' turn off attribute caching
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
| -rw-r--r-- | fs/nfs/nfs4namespace.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c index 5f9ba41ed5bf..b112857301f7 100644 --- a/fs/nfs/nfs4namespace.c +++ b/fs/nfs/nfs4namespace.c | |||
| @@ -86,7 +86,7 @@ static int nfs4_validate_fspath(const struct vfsmount *mnt_parent, | |||
| 86 | 86 | ||
| 87 | if (strncmp(path, fs_path, strlen(fs_path)) != 0) { | 87 | if (strncmp(path, fs_path, strlen(fs_path)) != 0) { |
| 88 | dprintk("%s: path %s does not begin with fsroot %s\n", | 88 | dprintk("%s: path %s does not begin with fsroot %s\n", |
| 89 | __FUNCTION__, path, fs_path); | 89 | __func__, path, fs_path); |
| 90 | return -ENOENT; | 90 | return -ENOENT; |
| 91 | } | 91 | } |
| 92 | 92 | ||
| @@ -134,7 +134,7 @@ static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, | |||
| 134 | if (locations == NULL || locations->nlocations <= 0) | 134 | if (locations == NULL || locations->nlocations <= 0) |
| 135 | goto out; | 135 | goto out; |
| 136 | 136 | ||
| 137 | dprintk("%s: referral at %s/%s\n", __FUNCTION__, | 137 | dprintk("%s: referral at %s/%s\n", __func__, |
| 138 | dentry->d_parent->d_name.name, dentry->d_name.name); | 138 | dentry->d_parent->d_name.name, dentry->d_name.name); |
| 139 | 139 | ||
| 140 | page = (char *) __get_free_page(GFP_USER); | 140 | page = (char *) __get_free_page(GFP_USER); |
| @@ -204,7 +204,7 @@ static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, | |||
| 204 | out: | 204 | out: |
| 205 | free_page((unsigned long) page); | 205 | free_page((unsigned long) page); |
| 206 | free_page((unsigned long) page2); | 206 | free_page((unsigned long) page2); |
| 207 | dprintk("%s: done\n", __FUNCTION__); | 207 | dprintk("%s: done\n", __func__); |
| 208 | return mnt; | 208 | return mnt; |
| 209 | } | 209 | } |
| 210 | 210 | ||
| @@ -223,7 +223,7 @@ struct vfsmount *nfs_do_refmount(const struct vfsmount *mnt_parent, struct dentr | |||
| 223 | int err; | 223 | int err; |
| 224 | 224 | ||
| 225 | /* BUG_ON(IS_ROOT(dentry)); */ | 225 | /* BUG_ON(IS_ROOT(dentry)); */ |
| 226 | dprintk("%s: enter\n", __FUNCTION__); | 226 | dprintk("%s: enter\n", __func__); |
| 227 | 227 | ||
| 228 | page = alloc_page(GFP_KERNEL); | 228 | page = alloc_page(GFP_KERNEL); |
| 229 | if (page == NULL) | 229 | if (page == NULL) |
| @@ -238,7 +238,7 @@ struct vfsmount *nfs_do_refmount(const struct vfsmount *mnt_parent, struct dentr | |||
| 238 | 238 | ||
| 239 | parent = dget_parent(dentry); | 239 | parent = dget_parent(dentry); |
| 240 | dprintk("%s: getting locations for %s/%s\n", | 240 | dprintk("%s: getting locations for %s/%s\n", |
| 241 | __FUNCTION__, parent->d_name.name, dentry->d_name.name); | 241 | __func__, parent->d_name.name, dentry->d_name.name); |
| 242 | 242 | ||
| 243 | err = nfs4_proc_fs_locations(parent->d_inode, &dentry->d_name, fs_locations, page); | 243 | err = nfs4_proc_fs_locations(parent->d_inode, &dentry->d_name, fs_locations, page); |
| 244 | dput(parent); | 244 | dput(parent); |
| @@ -252,6 +252,6 @@ out_free: | |||
| 252 | __free_page(page); | 252 | __free_page(page); |
| 253 | kfree(fs_locations); | 253 | kfree(fs_locations); |
| 254 | out: | 254 | out: |
| 255 | dprintk("%s: done\n", __FUNCTION__); | 255 | dprintk("%s: done\n", __func__); |
| 256 | return mnt; | 256 | return mnt; |
| 257 | } | 257 | } |
