diff options
-rw-r--r-- | fs/btrfs/export.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/export.c b/fs/btrfs/export.c index 340d90751263..4f774314a0dc 100644 --- a/fs/btrfs/export.c +++ b/fs/btrfs/export.c | |||
@@ -235,9 +235,6 @@ static int btrfs_get_name(struct dentry *parent, char *name, | |||
235 | int ret; | 235 | int ret; |
236 | u64 ino; | 236 | u64 ino; |
237 | 237 | ||
238 | if (!dir || !inode) | ||
239 | return -EINVAL; | ||
240 | |||
241 | if (!S_ISDIR(dir->i_mode)) | 238 | if (!S_ISDIR(dir->i_mode)) |
242 | return -EINVAL; | 239 | return -EINVAL; |
243 | 240 | ||