ext4: Rename ext4dev to ext4
The ext4 filesystem is getting stable enough that it's time to drop the "dev" prefix. Also remove the requirement for the TEST_FILESYS flag. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
@@ -1773,7 +1773,7 @@ retry:
|
||||
err = PTR_ERR(inode);
|
||||
if (!IS_ERR(inode)) {
|
||||
init_special_inode(inode, inode->i_mode, rdev);
|
||||
#ifdef CONFIG_EXT4DEV_FS_XATTR
|
||||
#ifdef CONFIG_EXT4_FS_XATTR
|
||||
inode->i_op = &ext4_special_inode_operations;
|
||||
#endif
|
||||
err = ext4_add_nondir(handle, dentry, inode);
|
||||
@@ -2456,7 +2456,7 @@ const struct inode_operations ext4_dir_inode_operations = {
|
||||
.mknod = ext4_mknod,
|
||||
.rename = ext4_rename,
|
||||
.setattr = ext4_setattr,
|
||||
#ifdef CONFIG_EXT4DEV_FS_XATTR
|
||||
#ifdef CONFIG_EXT4_FS_XATTR
|
||||
.setxattr = generic_setxattr,
|
||||
.getxattr = generic_getxattr,
|
||||
.listxattr = ext4_listxattr,
|
||||
@@ -2467,7 +2467,7 @@ const struct inode_operations ext4_dir_inode_operations = {
|
||||
|
||||
const struct inode_operations ext4_special_inode_operations = {
|
||||
.setattr = ext4_setattr,
|
||||
#ifdef CONFIG_EXT4DEV_FS_XATTR
|
||||
#ifdef CONFIG_EXT4_FS_XATTR
|
||||
.setxattr = generic_setxattr,
|
||||
.getxattr = generic_getxattr,
|
||||
.listxattr = ext4_listxattr,
|
||||
|
Reference in New Issue
Block a user