diff options
| author | 2008-07-23 21:30:01 -0700 | |
|---|---|---|
| committer | 2008-07-24 10:47:30 -0700 | |
| commit | 0293902a4d66fab27d0ddcc0766e05dae68f004e (patch) | |
| tree | 3a02e64ec212aa568eeaeae38065877e36a0c833 /fs/ecryptfs/ecryptfs_kernel.h | |
| parent | vt: do not update when the console is blanked (diff) | |
| download | linux-dev-0293902a4d66fab27d0ddcc0766e05dae68f004e.tar.xz linux-dev-0293902a4d66fab27d0ddcc0766e05dae68f004e.zip | |
I2O: handle sysfs_create_link() failures
Compile warning:
ignoring return value of `sysfs_create_link', declared with attribute warn_unused_result.
If sysfs_create_link failed, take care of the return value and do some
error handle after the failure.
Since sysfs_remove_link() will check whether a link exists, when removing the
link in error path, we don't need to care whether a link was created.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions
