OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS.
OrangeFS was formerly known as PVFS2 and retains the name in many places. I leave the device /dev/pvfs2-req since this affects userspace. I leave the filesystem type pvfs2 since this affects userspace. Further the OrangeFS sysint library reads fstab for an entry of type pvfs2 independently of kernel mounts. I leave extended attribute keys user.pvfs2 and system.pvfs2 as the sysint library understands these. I leave references to userspace binaries still named pvfs2. I leave the filenames. Signed-off-by: Yi Liu <yi9@clemson.edu> [martin@omnibond.com: clairify above constraints and merge] Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
#include "pvfs2-kernel.h"
|
||||
#include "pvfs2-bufmap.h"
|
||||
|
||||
static const char *pvfs2_follow_link(struct dentry *dentry, void **cookie)
|
||||
static const char *orangefs_follow_link(struct dentry *dentry, void **cookie)
|
||||
{
|
||||
char *target = PVFS2_I(dentry->d_inode)->link_target;
|
||||
char *target = ORANGEFS_I(dentry->d_inode)->link_target;
|
||||
|
||||
gossip_debug(GOSSIP_INODE_DEBUG,
|
||||
"%s: called on %s (target is %p)\n",
|
||||
@@ -21,11 +21,11 @@ static const char *pvfs2_follow_link(struct dentry *dentry, void **cookie)
|
||||
return target;
|
||||
}
|
||||
|
||||
struct inode_operations pvfs2_symlink_inode_operations = {
|
||||
struct inode_operations orangefs_symlink_inode_operations = {
|
||||
.readlink = generic_readlink,
|
||||
.follow_link = pvfs2_follow_link,
|
||||
.setattr = pvfs2_setattr,
|
||||
.getattr = pvfs2_getattr,
|
||||
.listxattr = pvfs2_listxattr,
|
||||
.follow_link = orangefs_follow_link,
|
||||
.setattr = orangefs_setattr,
|
||||
.getattr = orangefs_getattr,
|
||||
.listxattr = orangefs_listxattr,
|
||||
.setxattr = generic_setxattr,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user