this changes if() BUG(); constructs to BUG_ON() which is
cleaner, contains unlikely() and can better optimized away.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
struct files_struct *files = current->files;
int rc;
struct files_struct *files = current->files;
int rc;
/* This can race but the race causes us to copy when we don't
need to and drop the copy */
/* This can race but the race causes us to copy when we don't
need to and drop the copy */