diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-20 10:29:45 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-03-27 14:43:58 -0400 |
commit | c2aca5e529a2499d454c41e01f59f1d5fe4a1364 (patch) | |
tree | 80515a22164ab4722ccac3026e65dfa186b0707e /fs/devpts | |
parent | 10f303ae1e5e77a9f7cb053e6329906afb132c67 (diff) | |
download | linux-c2aca5e529a2499d454c41e01f59f1d5fe4a1364.tar.gz linux-c2aca5e529a2499d454c41e01f59f1d5fe4a1364.tar.bz2 linux-c2aca5e529a2499d454c41e01f59f1d5fe4a1364.zip |
vfs: Update fs.h to use inline functions when no file locking set
This avoids various issues which might give rise to compiler warnings
about missing functions and/or unused variable with the previous
macros. This also fixes a bug where one of the macros was returning
0, but it should have been void.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions