infra: remove unwanted rmdir()

This commit is contained in:
Thomas Schoebel-Theuer 2015-05-26 09:07:18 +02:00
parent ac2c901943
commit b9383da97c
1 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,7 @@ EXPORT_SYMBOL_GPL(mars_mkdir);
int mars_rmdir(const char *path)
{
#ifdef HAS_MARS_PREPATCH
mm_segment_t oldfs;
int status;
@ -249,6 +250,9 @@ int mars_rmdir(const char *path)
set_fs(oldfs);
return status;
#else
return -ENOSYS;
#endif
}
EXPORT_SYMBOL_GPL(mars_rmdir);