diff options
-rw-r--r-- | fs/ext4/ext4.h | 2 | ||||
-rw-r--r-- | fs/ext4/ioctl.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 55b7a77a0444..3a87378b9563 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -679,7 +679,7 @@ struct fsxattr { | |||
679 | #define EXT4_IOC_FSGETXATTR FS_IOC_FSGETXATTR | 679 | #define EXT4_IOC_FSGETXATTR FS_IOC_FSGETXATTR |
680 | #define EXT4_IOC_FSSETXATTR FS_IOC_FSSETXATTR | 680 | #define EXT4_IOC_FSSETXATTR FS_IOC_FSSETXATTR |
681 | 681 | ||
682 | #define EXT4_IOC_GOINGDOWN _IOR ('X', 125, __u32) | 682 | #define EXT4_IOC_SHUTDOWN _IOR ('X', 125, __u32) |
683 | 683 | ||
684 | /* | 684 | /* |
685 | * Flags for going down operation | 685 | * Flags for going down operation |
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index b383ebf4020c..a4273ddb9922 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
@@ -443,7 +443,7 @@ static inline unsigned long ext4_xflags_to_iflags(__u32 xflags) | |||
443 | return iflags; | 443 | return iflags; |
444 | } | 444 | } |
445 | 445 | ||
446 | int ext4_goingdown(struct super_block *sb, unsigned long arg) | 446 | int ext4_shutdown(struct super_block *sb, unsigned long arg) |
447 | { | 447 | { |
448 | struct ext4_sb_info *sbi = EXT4_SB(sb); | 448 | struct ext4_sb_info *sbi = EXT4_SB(sb); |
449 | __u32 flags; | 449 | __u32 flags; |
@@ -940,8 +940,8 @@ resizefs_out: | |||
940 | 940 | ||
941 | return 0; | 941 | return 0; |
942 | } | 942 | } |
943 | case EXT4_IOC_GOINGDOWN: | 943 | case EXT4_IOC_SHUTDOWN: |
944 | return ext4_goingdown(sb, arg); | 944 | return ext4_shutdown(sb, arg); |
945 | default: | 945 | default: |
946 | return -ENOTTY; | 946 | return -ENOTTY; |
947 | } | 947 | } |
@@ -1008,7 +1008,7 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) | |||
1008 | case EXT4_IOC_SET_ENCRYPTION_POLICY: | 1008 | case EXT4_IOC_SET_ENCRYPTION_POLICY: |
1009 | case EXT4_IOC_GET_ENCRYPTION_PWSALT: | 1009 | case EXT4_IOC_GET_ENCRYPTION_PWSALT: |
1010 | case EXT4_IOC_GET_ENCRYPTION_POLICY: | 1010 | case EXT4_IOC_GET_ENCRYPTION_POLICY: |
1011 | case EXT4_IOC_GOINGDOWN: | 1011 | case EXT4_IOC_SHUTDOWN: |
1012 | break; | 1012 | break; |
1013 | default: | 1013 | default: |
1014 | return -ENOIOCTLCMD; | 1014 | return -ENOIOCTLCMD; |