lib: Add tst_dev_fs_type() function

The function returns filesystem type to be used for testing.

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/chmod06: Cleanup.

* Remove useless comments

* Remove all ugly hacks

* Use SAFE_MACROS()

* ...

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/chown04: Cleanup

* Remove useless comments

* Remove all ugly hacks

* Use SAFE_MACROS()

* ...

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/access06: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/acct01: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/chmod06: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/chown04: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/creat06: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/fchown04: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/inotify03: Convert to tst_acquire_device()

Resolves #11

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/lchown03: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/link08: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/linkat02: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/mkdir03: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/mkdirat02: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/mknod07: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/mknodat02: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
syscalls/rmdir02: Convert to tst_acquire_device()

Signed-off-by: Cyril Hrubis <chrubis@suse.cz>