diff options
author | Jan Kara <jack@suse.cz> | 2014-01-22 00:48:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-22 01:19:41 +0100 |
commit | e9fe69045bd648d75d8d8099b8658a4ee005a8e5 (patch) | |
tree | 9c3e81c861c50df65e3337cbb85af6420a2df47d /fs/notify/inotify/inotify.h | |
parent | dma-debug: introduce debug_dma_assert_idle() (diff) | |
download | linux-e9fe69045bd648d75d8d8099b8658a4ee005a8e5.tar.xz linux-e9fe69045bd648d75d8d8099b8658a4ee005a8e5.zip |
inotify: provide function for name length rounding
Rounding of name length when passing it to userspace was done in several
places. Provide a function to do it and use it in all places.
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Eric Paris <eparis@parisplace.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/notify/inotify/inotify.h')
0 files changed, 0 insertions, 0 deletions